2020-10-17 05:57:45 +02:00
|
|
|
cd /tmp/$2
|
2020-10-17 21:14:19 +02:00
|
|
|
mv code.code code.hs
|
2021-01-14 06:45:48 +01:00
|
|
|
|
|
|
|
runuser runner$1 -c "\
|
|
|
|
cd /tmp/$2 ; \
|
|
|
|
ghc -dynamic -o binary code.hs > /dev/null 2>&1 ; \
|
2021-01-16 18:41:41 +01:00
|
|
|
cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary < stdin.stdin"
|