supress haskell compiler output

This commit is contained in:
Brian Seymour 2020-10-17 14:18:57 -05:00
parent 38c3b96107
commit a0bb87055f
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
cd /tmp/$2
mv code.code code.hs
timeout -s KILL 10 ghc -dynamic -o binary code.hs
timeout -s KILL 10 ghc -dynamic -o binary code.hs > /dev/null 2>&1
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"