piston/docker/executors/csharp

6 lines
122 B
Bash
Executable File

#!/bin/sh
cp /*.code .
timeout -s KILL 10 mcs $(echo $1 | sed 's/\///') -out:binary
timeout -s KILL 3 mono binary ${@:2}