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
|
@ -1,7 +1,7 @@
|
|||
cd /tmp/$2
|
||||
|
||||
if [[ -z $(grep '[^[:space:]]' args.args) ]]; then
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 emacs -Q --script code.code"
|
||||
runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 emacs -Q --script code.code"
|
||||
else
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 emacs -Q --script code.code"
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 emacs -Q --script code.code"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue