From d61770265ecdb97d234bf0a4fde4ad2f05c85aa2 Mon Sep 17 00:00:00 2001 From: Simon Marlow <marlowsd@gmail.com> Date: Mon, 29 Nov 2010 11:56:29 +0000 Subject: [PATCH] doc fix: clarify the encoding and newline translation used by pipe Handles --- System/Process/Internals.hs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs index 987bb5e7..c868d987 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) -- GitLab