Added julia support.
This commit is contained in:
parent
d42aa6edb1
commit
fab8873d85
|
@ -72,6 +72,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
|||
"csharp", "cs", "c#",
|
||||
"go",
|
||||
"java",
|
||||
"julia", "jl",
|
||||
"nasm", "asm",
|
||||
"node", "javascript", "js",
|
||||
"php",
|
||||
|
|
|
@ -63,6 +63,9 @@ case "$lang" in
|
|||
"java")
|
||||
bin=java
|
||||
;;
|
||||
"julia" | "jl")
|
||||
bin=julia
|
||||
;;
|
||||
"nasm" | "asm")
|
||||
bin=nasm
|
||||
;;
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
cd /tmp/$2
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 julia code.code"
|
Loading…
Reference in New Issue