piston/lxc/executors/nasm
2021-01-16 06:46:04 +01:00

4 lines
144 B
Text
Executable file

cd /tmp/$1 ;
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