piston/lxc/executors/go
2021-01-16 06:46:04 +01:00

6 lines
154 B
Text
Executable file

cd /tmp/$1
cp code.code interim.go
file="interim.go"
go build $file
file=${file%%.*}
cd /tmp/$1 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./$file