diff --git a/lxc/executors/deno b/lxc/executors/deno index 76d65ae..b466288 100755 --- a/lxc/executors/deno +++ b/lxc/executors/deno @@ -1,7 +1,7 @@ cd /tmp/$2 if [[ -z $(grep '[^[:space:]]' args.args) ]]; then - runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 deno code.code" + runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 deno run code.code" else - runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 deno code.code" -fi \ No newline at end of file + runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 deno run code.code" +fi diff --git a/lxc/executors/haskell b/lxc/executors/haskell index d2902b1..9735938 100755 --- a/lxc/executors/haskell +++ b/lxc/executors/haskell @@ -1,3 +1,4 @@ cd /tmp/$2 +mv code.code code.hs timeout -s KILL 10 ghc -dynamic -o binary code.code runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary" diff --git a/readme.md b/readme.md index 2c3a7b3..2f6c119 100644 --- a/readme.md +++ b/readme.md @@ -164,7 +164,7 @@ cd /opt && mkdir jelly && cd jelly wget https://github.com/DennisMitchell/jellylanguage/archive/master.zip unzip master.zip cd jellylanguage-master -pip3.8 install --upgrade --user . +pip3.8 install . # install julia # final binary: /opt/julia/julia-1.5.0/bin/julia