Skip to content

Commit

Permalink
Fix haddocks of createPipe
Browse files Browse the repository at this point in the history
  • Loading branch information
sol authored and tomjaguarpaw committed Nov 24, 2024
1 parent a5a3865 commit 166971f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions System/Process/Internals.hs
Original file line number Diff line number Diff line change
Expand Up @@ -200,22 +200,22 @@ runGenProcess_ fun c _ _ = createProcess_ fun c
--
-- @
-- #if defined(__IO_MANAGER_WINIO__)
-- import GHC.IO.SubSystem ((<!>))
-- import GHC.IO.SubSystem ((`<!>`))
-- import GHC.IO.Handle.Windows (handleToHANDLE)
-- import GHC.Event.Windows (associateHandle')
-- #endif
--
-- ...
--
-- #if defined (__IO_MANAGER_WINIO__)
-- return () <!> (do
-- associateHandle' =<< handleToHANDLE <handle>)
-- #if defined(__IO_MANAGER_WINIO__)
-- return () \<!> do
-- associateHandle' =\<\< handleToHANDLE readEnd
-- #endif
-- @
--
-- Only associate handles that you are in charge of read/writing to.
-- Do not associate handles passed to another process. It's the
-- process's reponsibility to register the handle if it supports
-- process's responsibility to register the handle if it supports
-- async access.
--
-- @since 1.2.1.0
Expand Down

0 comments on commit 166971f

Please sign in to comment.