diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs index 987bb5e7b30f167a45dbd133558a726d94a79ca2..c868d9872c34e72deedc5af25d0252ecfb278520 100644 --- a/System/Process/Internals.hs +++ b/System/Process/Internals.hs @@ -192,9 +192,12 @@ data CmdSpec -- ^ the filename of an executable with a list of arguments data StdStream - = Inherit -- ^ Inherit Handle from parent - | UseHandle Handle -- ^ Use the supplied Handle - | CreatePipe -- ^ Create a new pipe + = Inherit -- ^ Inherit Handle from parent + | UseHandle Handle -- ^ Use the supplied Handle + | CreatePipe -- ^ Create a new pipe. The returned + -- @Handle@ will use the default encoding + -- and newline translation mode (just + -- like @Handle@s created by @openFile@). runGenProcess_ :: String -- ^ function name (for error messages)