Don't print to stdout during logging

This commit is contained in:
2022-01-19 15:40:58 +01:00
parent 66961101c6
commit 67b7b2f292
2 changed files with 6 additions and 4 deletions

View File

@@ -196,7 +196,8 @@ execLogged exe args chdir lfile env = do
then pure ()
else do
void $ BS.appendFile logFile some
void $ BS.hPut stdout some
-- subprocess stdout also goes to stderr for logging
void $ BS.hPut stderr some
go