fix deno and haskell and jelly

This commit is contained in:
Brian Seymour 2020-10-17 14:14:19 -05:00
parent a7fdbca30b
commit ca52e04bbd
3 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
cd /tmp/$2
if [[ -z $(grep '[^[:space:]]' args.args) ]]; then
runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 deno code.code"
runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 deno run code.code"
else
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 deno code.code"
fi
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 deno run code.code"
fi