Clear environment (except for PATH) and add ONLINE_JUDGE=1
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 25 Jan 2014 19:45:08 +0000 (21:45 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 25 Jan 2014 19:45:08 +0000 (21:45 +0200)
gruntmaster-exec

index 36b71d4..ffdc7bf 100755 (executable)
@@ -11,4 +11,6 @@ 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});
 exec @args;
This page took 0.024473 seconds and 4 git commands to generate.