mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
merge
This commit is contained in:
commit
5c1d85fe11
4 changed files with 10 additions and 1 deletions
|
@ -99,6 +99,12 @@ case "$lang" in
|
|||
"swift")
|
||||
bin=swift
|
||||
;;
|
||||
"elisp" | "el")
|
||||
bin=emacs
|
||||
;;
|
||||
"bash")
|
||||
bin=bash
|
||||
;;
|
||||
"typescript" | "ts")
|
||||
bin=typescript
|
||||
;;
|
||||
|
|
2
lxc/executors/emacs
Executable file
2
lxc/executors/emacs
Executable 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 emacs -Q --script code.code"
|
Loading…
Add table
Add a link
Reference in a new issue