1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-15 16:16:28 +02:00

truncate stdout to 1024 characters

This commit is contained in:
Brian Seymour 2018-09-21 22:20:41 -05:00
parent f16b936946
commit a44a62f2df

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