From 70f2208ed6d855895f22a467c9da80cad7402dda Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 28 Oct 2015 13:00:24 -0400 Subject: propellor spin --- src/Utility/ConcurrentOutput.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Utility/ConcurrentOutput.hs b/src/Utility/ConcurrentOutput.hs index 8497b2dc..9e6b6a68 100644 --- a/src/Utility/ConcurrentOutput.hs +++ b/src/Utility/ConcurrentOutput.hs @@ -164,7 +164,10 @@ createProcessConcurrent :: P.CreateProcess -> IO (Maybe Handle, Maybe Handle, Ma createProcessConcurrent p | willoutput (P.std_out p) || willoutput (P.std_err p) = ifM tryTakeOutputLock - ( firstprocess + ( do + hPutStrLn stderr $ show ("NOT CONCURRENT", cmd) + hFlush stderr + firstprocess , do lcker <- outputLockedBy <$> getOutputHandle l <- readMVar lcker -- cgit v1.2.3