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

@ -3,4 +3,4 @@ cp code.code interim.go
file="interim.go"
GOROOT=/usr/lib/go timeout -s KILL 10 go build $file
file=${file%%.*}
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./$file"
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs timeout -s KILL 3 ./$file"