fix jelly, move all executor code to runner permission, introduce stdout/stderr separate output to the api

This commit is contained in:
Brian Seymour 2021-01-13 23:45:48 -06:00
parent 15b6f6e8d6
commit b81690a9de
18 changed files with 101 additions and 41 deletions

View file

@ -1,3 +1,4 @@
cd /tmp/$2
timeout -s KILL 10 mcs $(echo code.code | sed 's/\///') -nowarn:0219 -out:binary
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 mono binary"
runuser runner$1 -c "\
cd /tmp/$2 ; \
mcs $(echo code.code | sed 's/\///') -nowarn:0219 -out:binary ; \
cat args.args | xargs -d '\n' timeout -s KILL 3 mono binary"