mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
Add stdin
This commit is contained in:
parent
8fd831982e
commit
c537cab2da
30 changed files with 42 additions and 32 deletions
|
@ -2,4 +2,4 @@ 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"
|
||||
cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary < stdin.stdin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue