1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-07 20:36:26 +02:00
piston/lxc/executors/go

6 lines
137 B
Bash
Executable file

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