piston/lxc/executors/zig

7 lines
140 B
Plaintext
Raw Normal View History

2021-01-23 22:15:00 +01:00
#!/bin/bash
cd /tmp/$1
2021-01-23 22:15:00 +01:00
cp code.code main.zig
timeout -s KILL 10 zig build-exe main.zig
timeout -s KILL 3 xargs -a args.args -d '\n' ./main