2020-10-17 05:57:45 +02:00
|
|
|
cd /tmp/$2
|
2020-10-17 21:14:19 +02:00
|
|
|
mv code.code code.hs
|
2020-10-17 05:57:45 +02:00
|
|
|
timeout -s KILL 10 ghc -dynamic -o binary code.code
|
|
|
|
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|