projects
/
gruntmaster-daemon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clear environment (except for PATH) and add ONLINE_JUDGE=1
[gruntmaster-daemon.git]
/
gruntmaster-exec
diff --git
a/gruntmaster-exec
b/gruntmaster-exec
index 36b71d43319a52b512fcb4bdd74205adf1014ff9..ffdc7bfc3f4ef84a7b083fff1a493f6776f1031a 100755
(executable)
--- a/
gruntmaster-exec
+++ b/
gruntmaster-exec
@@
-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;
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;
exec @args;
This page took
0.009817 seconds
and
4
git commands to generate.