concurrent-output-1.7.4: Ungarble output from several threads or commands

Copyright2015 Joey Hess <>
Safe HaskellNone



The functions exported by this module are intended to be drop-in replacements for those from System.Process, when converting a whole program to use System.Console.Concurrent.

Not currently available on Windows.



createProcess :: CreateProcess -> IO (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle) Source

Calls createProcessConcurrent

You should use the waitForProcess in this module on the resulting ProcessHandle. Using System.Process.waitForProcess instead can have mildly unexpected results.

Not available on Windows.

waitForProcess :: ProcessHandle -> IO ExitCode Source

Calls waitForProcessConcurrent

You should only use this on a ProcessHandle obtained by calling createProcess from this module. Using this with a ProcessHandle obtained from System.Process.createProcess etc will have extremely unexpected results; it can wait a very long time before returning.