piston/lxc/executors/d

5 lines
151 B
Plaintext
Raw Normal View History

2021-01-06 00:46:49 +01:00
cd /tmp/$2
cp code.code code.d
timeout -s KILL 10 dmd code.d
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./code"