mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
fix jelly, move all executor code to runner permission, introduce stdout/stderr separate output to the api
This commit is contained in:
parent
15b6f6e8d6
commit
b81690a9de
18 changed files with 101 additions and 41 deletions
|
@ -135,9 +135,9 @@ case "$lang" in
|
|||
esac
|
||||
|
||||
# runner
|
||||
timeout -s KILL 10 \
|
||||
timeout -s KILL 20 \
|
||||
lxc-attach --clear-env -n piston -- \
|
||||
/bin/bash -l -c "bash /exec/$bin $newinc $epoch 2>&1 | head -c 65536"
|
||||
/bin/bash -l -c "bash /exec/$bin $newinc $epoch"
|
||||
|
||||
# process janitor
|
||||
lxc-attach --clear-env -n piston -- \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue