piston/lxc/executors/c

4 lines
126 B
Plaintext
Executable File

cd /tmp/$1
timeout -s KILL 10 gcc -o binary -x c code.code
timeout -s KILL 3 bash -c "cat args.args | xargs -d '\n' ./binary"