mirror of
https://github.com/engineer-man/piston.git
synced 2025-09-20 10:50:04 +02:00
6 lines
154 B
Text
Executable file
6 lines
154 B
Text
Executable file
cd /tmp/$1
|
|
cp code.code interim.go
|
|
file="interim.go"
|
|
go build $file
|
|
file=${file%%.*}
|
|
cd /tmp/$1 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./$file
|