mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
add support for bash
This commit is contained in:
parent
389f4ed335
commit
728c263c50
3 changed files with 4 additions and 0 deletions
2
lxc/executors/bash
Normal file
2
lxc/executors/bash
Normal file
|
@ -0,0 +1,2 @@
|
|||
cd /tmp/$2
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 bash code.code"
|
Loading…
Add table
Add a link
Reference in a new issue