mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-07 12:26:26 +02:00
added common lisp
This commit is contained in:
parent
a0bb87055f
commit
8c202f7b25
6 changed files with 24 additions and 0 deletions
8
lxc/executors/commonlisp
Executable file
8
lxc/executors/commonlisp
Executable file
|
@ -0,0 +1,8 @@
|
|||
cd /tmp/$2
|
||||
|
||||
if [[ -z $(grep '[^[:space:]]' args.args) ]]; then
|
||||
runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 sbcl --script code.code"
|
||||
else
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args ; xargs -d '\n' timeout -s KILL 3 sbcl --script code.code"
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue