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,2 +1,2 @@
cd /tmp/$2
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs timeout -s KILL 3 Rscript code.code"
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 Rscript code.code"