mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
fix problem with multiple args
This commit is contained in:
parent
31a90fe3ad
commit
460e393772
16 changed files with 20 additions and 20 deletions
|
@ -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 timeout -s KILL 3 ./$file"
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./$file"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue