fix problem with multiple args

This commit is contained in:
Brian Seymour 2019-06-19 00:09:56 -05:00
parent 31a90fe3ad
commit 460e393772
16 changed files with 20 additions and 20 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 timeout -s KILL 3 ./binary"
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"