1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-04 02:46:28 +02:00
piston/docker/executors/cpp
Brian Seymour 6cc2496cd6 args
2018-10-05 20:26:22 -05:00

4 lines
88 B
Bash
Executable file

#!/bin/sh
timeout -s KILL 10 g++ -o binary -x c++ $1
timeout -s KILL 3 ./binary ${@:2}