csharp fix
This commit is contained in:
parent
840c414e95
commit
fa7d424f53
|
@ -57,7 +57,7 @@ docker run \
|
||||||
--network none \
|
--network none \
|
||||||
--rm \
|
--rm \
|
||||||
--log-driver none \
|
--log-driver none \
|
||||||
-v $filepath:/tmp/$file:ro \
|
-v $filepath:/$file:ro \
|
||||||
-v $dir/executors/python2:/executor_python2:ro \
|
-v $dir/executors/python2:/executor_python2:ro \
|
||||||
-v $dir/executors/python3:/executor_python3:ro \
|
-v $dir/executors/python3:/executor_python3:ro \
|
||||||
-v $dir/executors/ruby:/executor_ruby:ro \
|
-v $dir/executors/ruby:/executor_ruby:ro \
|
||||||
|
@ -71,6 +71,6 @@ docker run \
|
||||||
piston \
|
piston \
|
||||||
runuser \
|
runuser \
|
||||||
-l runner \
|
-l runner \
|
||||||
-c "/$bin /tmp/$file $file 2>&1 | head -c 65536"
|
-c "/$bin /$file $file 2>&1 | head -c 65536"
|
||||||
|
|
||||||
rm -f /tmp/$file
|
rm -f /tmp/$file
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mcs $(echo $1 | sed 's/\///') -out:binary
|
cd ..
|
||||||
timeout -s KILL 3 mono binary
|
mcs $(echo $1 | sed 's/\///') -out:tmp/binary
|
||||||
|
timeout -s KILL 3 mono tmp/binary
|
||||||
|
|
Loading…
Reference in New Issue