This website requires JavaScript.
Explore
Help
Sign In
Mascali
/
piston
mirror of
https://github.com/engineer-man/piston.git
Watch
1
Star
0
Fork
You've already forked piston
0
Code
Issues
Projects
Releases
Wiki
Activity
a44a62f2df
piston
/
docker
/
executors
/
go
10 lines
80 B
Plaintext
Raw
Normal View
History
Unescape
Escape
language support
2018-09-21 04:36:21 +02:00
#!/bin/sh
constrain go, add user home dir
2018-09-21 16:58:01 +02:00
file=$1
go build $file
file=${file%%.*}
sigkill instead of sighup
2018-09-22 05:05:29 +02:00
timeout -s KILL 2 ./$file