[commit: packages/process] master: Export withCreateProcess documentation (13db296)

git at git.haskell.org git at git.haskell.org
Thu Jul 20 18:03:55 UTC 2017


Repository : ssh://git@git.haskell.org/process

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/13db29626502a43854c4cdaaa0526ea19e03c525/process

>---------------------------------------------------------------

commit 13db29626502a43854c4cdaaa0526ea19e03c525
Author: Jonathan Lange <jml at mumak.net>
Date:   Mon May 22 16:37:35 2017 +0100

    Export withCreateProcess documentation
    
    The function is public, but the Haddock documentation isn't being rendered. I think it's a simple matter of removing the `{-` and `-}`, but I haven't tested locally.


>---------------------------------------------------------------

13db29626502a43854c4cdaaa0526ea19e03c525
 System/Process.hs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/System/Process.hs b/System/Process.hs
index 8842daa..7c1a342 100644
--- a/System/Process.hs
+++ b/System/Process.hs
@@ -199,7 +199,6 @@ createProcess cp = do
     | hdl /= stdin && hdl /= stdout && hdl /= stderr = hClose hdl
   maybeCloseStd _ = return ()
 
-{-
 -- | A 'C.bracket'-style resource handler for 'createProcess'.
 --
 -- Does automatic cleanup when the action finishes. If there is an exception
@@ -214,7 +213,6 @@ createProcess cp = do
 -- >   ...
 --
 -- @since 1.4.3.0
--}
 withCreateProcess
   :: CreateProcess
   -> (Maybe Handle -> Maybe Handle -> Maybe Handle -> ProcessHandle -> IO a)



More information about the ghc-commits mailing list