mirror of
https://github.com/engineer-man/piston.git
synced 2025-09-20 19:00:04 +02:00
Running executors as runners
This commit is contained in:
parent
9293cd271f
commit
8f2960e99a
30 changed files with 66 additions and 92 deletions
|
@ -1,5 +1,3 @@
|
|||
cd /tmp/$2
|
||||
cd /tmp/$1
|
||||
rustc -o binary code.code
|
||||
runuser runner$1 -c "\
|
||||
cd /tmp/$2 ; \
|
||||
cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||
cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue