remove unused createBackgroundProcess
This commit is contained in:
parent
20557cf0ef
commit
bd3074643b
1 changed files with 0 additions and 6 deletions
|
@ -21,7 +21,6 @@ module Utility.Process (
|
||||||
forceSuccessProcess',
|
forceSuccessProcess',
|
||||||
checkSuccessProcess,
|
checkSuccessProcess,
|
||||||
createProcessSuccess,
|
createProcessSuccess,
|
||||||
createBackgroundProcess,
|
|
||||||
withHandle,
|
withHandle,
|
||||||
withIOHandles,
|
withIOHandles,
|
||||||
withOEHandles,
|
withOEHandles,
|
||||||
|
@ -143,11 +142,6 @@ createProcessChecked checker p a = do
|
||||||
_ <- checker pid
|
_ <- checker pid
|
||||||
either E.throw return r
|
either E.throw return r
|
||||||
|
|
||||||
-- | Leaves the process running, suitable for lazy streaming.
|
|
||||||
-- Note: Zombies will result, and must be waited on.
|
|
||||||
createBackgroundProcess :: CreateProcessRunner
|
|
||||||
createBackgroundProcess p a = a =<< createProcess p
|
|
||||||
|
|
||||||
-- | Runs a CreateProcessRunner, on a CreateProcess structure, that
|
-- | Runs a CreateProcessRunner, on a CreateProcess structure, that
|
||||||
-- is adjusted to pipe only from/to a single StdHandle, and passes
|
-- is adjusted to pipe only from/to a single StdHandle, and passes
|
||||||
-- the resulting Handle to an action.
|
-- the resulting Handle to an action.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue