summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Utility/ConcurrentOutput.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Utility/ConcurrentOutput.hs b/src/Utility/ConcurrentOutput.hs
index 3c072cf4..be5fb8d3 100644
--- a/src/Utility/ConcurrentOutput.hs
+++ b/src/Utility/ConcurrentOutput.hs
@@ -85,7 +85,11 @@ takeOutputLock' block = go =<< withLock tryTakeTMVar
( havelock
, if block
then do
+ hPutStrLn stderr "WAIT PROCESS"
+ hFlush stderr
void $ P.waitForProcess h
+ hPutStrLn stderr "WAIT PROCESS done"
+ hFlush stderr
havelock
else do
withLock (`putTMVar` orig)