mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
Add Kotlin support
This commit is contained in:
parent
b750de1f5e
commit
c36c5a6e63
7 changed files with 24 additions and 0 deletions
4
lxc/executors/kotlin
Executable file
4
lxc/executors/kotlin
Executable 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"
|
Loading…
Add table
Add a link
Reference in a new issue