Add Kotlin support

This commit is contained in:
aveliz1999 2020-06-04 15:01:14 -04:00
parent b750de1f5e
commit c36c5a6e63
7 changed files with 24 additions and 0 deletions

4
lxc/executors/kotlin Executable file
View file

@ -0,0 +1,4 @@
cd /tmp/$2
cp code.code code.kt
timeout -s KILL 10 kotlinc code.kt -include-runtime -d code.jar
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 java -jar code.jar"