diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-28 15:34:43 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-28 15:34:43 -0400 |
| commit | 3ba41b1d37a82effa2fc5b5a3f5b8d8da470c6bc (patch) | |
| tree | be7bd385f6614446d24a6eebe9c5fec8c3222345 /src/Utility/Process/Shim.hs | |
| parent | 46e113e200af741695417ce38ae8cb6fd670a486 (diff) | |
propellor spin
Diffstat (limited to 'src/Utility/Process/Shim.hs')
| -rw-r--r-- | src/Utility/Process/Shim.hs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Utility/Process/Shim.hs b/src/Utility/Process/Shim.hs index 202b7c32..08694d5d 100644 --- a/src/Utility/Process/Shim.hs +++ b/src/Utility/Process/Shim.hs @@ -1,8 +1,12 @@ -module Utility.Process.Shim (module X, createProcess) where +module Utility.Process.Shim (module X, createProcess, waitForProcess) where -import System.Process as X hiding (createProcess) -import Utility.ConcurrentOutput (createProcessConcurrent) +import System.Process as X hiding (createProcess, waitForProcess) +import Utility.ConcurrentOutput (createProcessConcurrent, waitForProcessConcurrent) import System.IO +import System.Exit createProcess :: CreateProcess -> IO (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle) createProcess = createProcessConcurrent + +waitForProcess :: ProcessHandle -> IO ExitCode +waitForProcess = waitForProcessConcurrent |
