piston/lxc/executors/java

6 lines
128 B
Bash
Executable File

#!/bin/bash
cd /tmp/$1
cp code.code interim.java
timeout -s KILL 10 xargs -a args.args -d '\n' java interim.java < stdin.stdin