Skip to content

Commit

Permalink
Merge pull request fpco#67 from sol/patch-1
Browse files Browse the repository at this point in the history
Use Haddock markup in deprecation messages
  • Loading branch information
snoyberg authored May 11, 2023
2 parents e122d5a + 788209f commit 9988b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/System/Process/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ withProcess :: (MonadUnliftIO m)
-> (Process stdin stdout stderr -> m a)
-> m a
withProcess = withProcessTerm
{-# DEPRECATED withProcess "Please consider using withProcessWait, or instead use withProcessTerm" #-}
{-# DEPRECATED withProcess "Please consider using `withProcessWait`, or instead use `withProcessTerm`" #-}

-- | Same as 'withProcessTerm', but also calls 'checkExitCode'
--
Expand Down Expand Up @@ -389,7 +389,7 @@ withProcess_ :: (MonadUnliftIO m)
-> (Process stdin stdout stderr -> m a)
-> m a
withProcess_ = withProcessTerm_
{-# DEPRECATED withProcess_ "Please consider using withProcessWait_, or instead use withProcessTerm_" #-}
{-# DEPRECATED withProcess_ "Please consider using `withProcessWait_`, or instead use `withProcessTerm_`" #-}

-- | Run a process, capture its standard output and error as a
-- 'L.ByteString', wait for it to complete, and then return its exit
Expand Down

0 comments on commit 9988b77

Please sign in to comment.