docker: fix stderr output bypassing limit

This commit is contained in:
1computer1 2020-06-22 02:39:05 -04:00
parent f317d4b704
commit a4b6fccf0b
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ evalCode lang numRetries code = withContainer $ \cnt -> do
, show snowflake
, " "
, cnt
, " /bin/sh /var/run/run.sh | head -c 4K"
, " /bin/sh /var/run/run.sh 2>&1 | head -c 4K"
]
pr = setStdin (byteStringInput $ cs code) $ shell cmd
logDebug ["Executing with stdin `", cs cmd, "`"]