stop exporting createProcessChecked
Yay, that had an ugly comment associated with it.
This commit is contained in:
parent
438dbe3b66
commit
20557cf0ef
1 changed files with 0 additions and 4 deletions
|
@ -21,7 +21,6 @@ module Utility.Process (
|
||||||
forceSuccessProcess',
|
forceSuccessProcess',
|
||||||
checkSuccessProcess,
|
checkSuccessProcess,
|
||||||
createProcessSuccess,
|
createProcessSuccess,
|
||||||
createProcessChecked,
|
|
||||||
createBackgroundProcess,
|
createBackgroundProcess,
|
||||||
withHandle,
|
withHandle,
|
||||||
withIOHandles,
|
withIOHandles,
|
||||||
|
@ -125,9 +124,6 @@ forceSuccessProcess' p (ExitFailure n) = fail $
|
||||||
showCmd p ++ " exited " ++ show n
|
showCmd p ++ " exited " ++ show n
|
||||||
|
|
||||||
-- | Waits for a ProcessHandle and returns True if it exited successfully.
|
-- | Waits for a ProcessHandle and returns True if it exited successfully.
|
||||||
-- Note that using this with createProcessChecked will throw away
|
|
||||||
-- the Bool, and is only useful to ignore the exit code of a process,
|
|
||||||
-- while still waiting for it. -}
|
|
||||||
checkSuccessProcess :: ProcessHandle -> IO Bool
|
checkSuccessProcess :: ProcessHandle -> IO Bool
|
||||||
checkSuccessProcess pid = do
|
checkSuccessProcess pid = do
|
||||||
code <- waitForProcess pid
|
code <- waitForProcess pid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue