mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
supress haskell compiler output
This commit is contained in:
parent
38c3b96107
commit
a0bb87055f
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue