piston/lxc/executors/cpp

4 lines
128 B
Plaintext
Raw Normal View History

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