Add julia executor and enable elixir in api
This commit is contained in:
parent
b7c8329ea1
commit
6076f88bb9
|
@ -70,6 +70,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
|||
"c",
|
||||
"cpp", "c++",
|
||||
"csharp", "cs", "c#",
|
||||
"elixir", "exs",
|
||||
"go",
|
||||
"java",
|
||||
"julia", "jl",
|
||||
|
|
|
@ -57,6 +57,9 @@ case "$lang" in
|
|||
"csharp" | "cs" | "c#")
|
||||
bin=csharp
|
||||
;;
|
||||
"elixir" | "exs")
|
||||
bin=elixir
|
||||
;;
|
||||
"go")
|
||||
bin=go
|
||||
;;
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
cd /tmp/$2
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args ; xargs -d '\n' timeout -s KILL 3 elixir code.code"
|
Loading…
Reference in New Issue