csharp fix

This commit is contained in:
Brian Seymour 2018-09-22 01:41:35 -05:00
parent 840c414e95
commit fa7d424f53
2 changed files with 5 additions and 4 deletions

View File

@ -57,7 +57,7 @@ docker run \
--network none \
--rm \
--log-driver none \
-v $filepath:/tmp/$file:ro \
-v $filepath:/$file:ro \
-v $dir/executors/python2:/executor_python2:ro \
-v $dir/executors/python3:/executor_python3:ro \
-v $dir/executors/ruby:/executor_ruby:ro \
@ -71,6 +71,6 @@ docker run \
piston \
runuser \
-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

View File

@ -1,4 +1,5 @@
#!/bin/sh
mcs $(echo $1 | sed 's/\///') -out:binary
timeout -s KILL 3 mono binary
cd ..
mcs $(echo $1 | sed 's/\///') -out:tmp/binary
timeout -s KILL 3 mono tmp/binary