Run texexec under nice.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 23 Sep 2009 13:21:34 +0000 (15:21 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 23 Sep 2009 13:21:34 +0000 (15:21 +0200)
Previously, luatex had the habit of choking up all memory and making the
system (temporarily) non-responsive. Perhaps this helps.

SConstruct

index 3edfb1d..fccd78a 100644 (file)
@@ -13,7 +13,7 @@ DEFAULT_TARGET = 'Report.pdf'
 env = Environment()
 
 ## Context MkIV Builder:
-contextBuilder = Builder(action='texexec --lua $SOURCE',
+contextBuilder = Builder(action='nice texexec --lua $SOURCE',
                          suffix='.pdf',
                          src_suffix='.tex')
 env.Append(BUILDERS={'Context': contextBuilder})