piston/lxc/executors/crystal

6 lines
133 B
Plaintext
Raw Normal View History

2021-01-23 21:59:07 +01:00
#!/bin/bash
cd /tmp/$1
2021-01-23 22:08:14 +01:00
timeout -s KILL 10 crystal build code.code
2021-01-23 21:59:07 +01:00
timeout -s KILL 3 xargs -a args.args -d '\n' ./code < stdin.stdin