remove unused createBackgroundProcess

This commit is contained in:
Joey Hess 2020-06-04 12:48:42 -04:00
parent 20557cf0ef
commit bd3074643b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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.