1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-10 05:46:25 +02:00
piston/lxc/executors/scala
2021-02-04 20:52:13 -08:00

7 lines
200 B
Bash
Executable file

#!/bin/bash
# Scala will complain if JAVA_HOME isn't set
export JAVA_HOME=/opt/java/jdk-14
cp code.code interim.scala
timeout -s KILL 10 xargs -a args.args -d '\n' scala interim.scala < stdin.stdin