From 20557cf0efb1a780c1d20b831523cac4b5348320 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 4 Jun 2020 12:46:55 -0400 Subject: [PATCH] stop exporting createProcessChecked Yay, that had an ugly comment associated with it. --- Utility/Process.hs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Utility/Process.hs b/Utility/Process.hs index d7e84c7fd4..9697357ff6 100644 --- a/Utility/Process.hs +++ b/Utility/Process.hs @@ -21,7 +21,6 @@ module Utility.Process ( forceSuccessProcess', checkSuccessProcess, createProcessSuccess, - createProcessChecked, createBackgroundProcess, withHandle, withIOHandles, @@ -125,9 +124,6 @@ forceSuccessProcess' p (ExitFailure n) = fail $ showCmd p ++ " exited " ++ show n -- | 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 pid = do code <- waitForProcess pid