mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
7 lines
162 B
Bash
Executable file
7 lines
162 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
runuser runner$1 -c "
|
|
cd /tmp/$2
|
|
gcc -std=c11 -o binary -x c code.code
|
|
timeout -s KILL 3 xargs -a args.args ./binary < stdin.stdin
|
|
"
|