mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 13:36:31 +02:00
update readme, set c to run everything under a runner
This commit is contained in:
parent
9c985a1e5b
commit
e6e1c093d6
2 changed files with 16 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
cd /tmp/$2
|
||||
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||
runuser runner$1 -c "\
|
||||
cd /tmp/$2 ; \
|
||||
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code \
|
||||
cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue