piston/lxc/executors/zig

7 lines
140 B
Bash

#!/bin/bash
cd /tmp/$1
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