Move runuser to execute

This commit is contained in:
Vrganj 2021-01-17 15:44:40 +00:00
parent 14565b16e4
commit 9851352f87
30 changed files with 76 additions and 132 deletions

View file

@ -1,7 +1,5 @@
#!/bin/bash
runuser runner$1 -c "
cd /tmp/$2
mcs $(echo code.code | sed 's/\///') -nowarn:0219 -out:binary
timeout -s KILL 3 xargs -a args.args -d '\n' mono binary < stdin.stdin
"
cd /tmp/$2
mcs $(echo code.code | sed 's/\///') -nowarn:0219 -out:binary
timeout -s KILL 3 xargs -a args.args -d '\n' mono binary < stdin.stdin