update readme, fix bug where multiple args were appearing as one arg

This commit is contained in:
Brian Seymour 2019-06-16 21:52:06 -05:00
parent 5ea7da87a1
commit 3b2f2fbe59
16 changed files with 20 additions and 19 deletions

View file

@ -1,3 +1,3 @@
cd /tmp/$2
timeout -s KILL 10 g++ -o binary -x c++ code.code
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs timeout -s KILL 3 ./binary"