1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-08 12:56:27 +02:00

Merge pull request from TitouanT/java_cd_fix

fixed java executor to be in the correct directory
This commit is contained in:
Brian Seymour 2021-02-05 16:08:54 -06:00 committed by GitHub
commit aa4f4bfafb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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