piston/lxc/executors/d

7 lines
126 B
Plaintext
Raw Normal View History

2021-01-23 21:31:23 +01:00
#!/bin/bash
2021-01-06 00:46:49 +01:00
cd /tmp/$2
cp code.code code.d
timeout -s KILL 10 dmd code.d
2021-01-23 21:31:23 +01:00
xtimeout -s KILL 3 args -a args.args -d '\n' ./code