truncate stdout to 1024 characters

This commit is contained in:
Brian Seymour 2018-09-21 22:20:41 -05:00
parent f16b936946
commit a44a62f2df
1 changed files with 1 additions and 1 deletions

View File

@ -65,6 +65,6 @@ docker run \
piston \
runuser \
-l runner \
-c "/$bin /$file $file 2>&1"
-c "/$bin /$file $file | head -c 1024 2>&1"
rm -f /tmp/$file