From: Marius Gavrilescu Date: Tue, 28 Jan 2014 13:03:52 +0000 (+0200) Subject: Pass HOME environment variable to jobs. Python needs it. X-Git-Tag: 5999.000_001~27 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=2c596b7a66e758336f41f12e5cf3ea8bb6180cd0;p=gruntmaster-daemon.git Pass HOME environment variable to jobs. Python needs it. --- diff --git a/gruntmaster-exec b/gruntmaster-exec index ffdc7bf..d11803f 100755 --- a/gruntmaster-exec +++ b/gruntmaster-exec @@ -12,5 +12,5 @@ my ($mlimit, $olimit, @args) = @ARGV; setrlimit RLIMIT_AS, $mlimit, $mlimit or die $! if $mlimit; setrlimit RLIMIT_FSIZE, $olimit, $olimit or die $! if $olimit; -%ENV = (ONLINE_JUDGE => 1, PATH => $ENV{PATH}); +%ENV = (ONLINE_JUDGE => 1, PATH => $ENV{PATH}, HOME => $ENV{PATH}); exec @args;