piston/lxc/executors/nim

5 lines
149 B
Plaintext
Raw Normal View History

2020-10-31 20:02:16 +01:00
cd /tmp/$2
timeout -s KILL 10 nim --hints:off c code.code
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./code"