mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-10 05:46:25 +02:00
7 lines
200 B
Bash
Executable file
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
|