piston/lxc/executors/nasm

6 lines
190 B
Plaintext
Raw Normal View History

runuser runner$1 -c "\
cd /tmp/$2 ; \
nasm -f elf32 -o binary.o code.code ; \
ld -m elf_i386 binary.o -o binary ; \
cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"