fix bug omitting stdout, fix cpp compiler flag
This commit is contained in:
parent
eec7ec26fa
commit
9e0c0c40f5
|
@ -59,6 +59,6 @@ docker run \
|
|||
piston \
|
||||
runuser \
|
||||
-l runner \
|
||||
-c "/$bin /$file $file | head -c 65536 2>&1"
|
||||
-c "/$bin /$file $file 2>&1 | head -c 65536"
|
||||
|
||||
rm -f /tmp/$file
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
g++ -o binary -x c $1
|
||||
g++ -o binary -x c++ $1
|
||||
timeout -s KILL 3 ./binary
|
||||
|
|
Loading…
Reference in New Issue