[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 15:14:52 UTC 2010


The following commit has been merged in the master branch:
commit df286d45c8739e6d51a2791847af38b51e7b6f05
Author: John Goerzen <jgoerzen at complete.org>
Date:   Fri Nov 24 12:01:32 2006 +0100

    Added note to Cmd.hs

diff --git a/MissingH/Cmd.hs b/MissingH/Cmd.hs
index aef58b1..22d60c3 100644
--- a/MissingH/Cmd.hs
+++ b/MissingH/Cmd.hs
@@ -490,7 +490,11 @@ pOpen pm fp args func =
 #ifndef __HUGS__
 {- | Runs a command, redirecting things to pipes. 
 
-Not available on Windows.-}
+Not available on Windows.
+
+Note that you may not use the same fd on more than one item.  If you
+want to redirect stdout and stderr, dup it first.
+-}
 pOpen3 :: Maybe Fd                      -- ^ Send stdin to this fd
        -> Maybe Fd                      -- ^ Get stdout from this fd
        -> Maybe Fd                      -- ^ Get stderr from this fd
@@ -516,6 +520,9 @@ Not available on Windows.
 
 Returns immediately with the PID of the child.  Using 'waitProcess' on it
 is YOUR responsibility!
+
+Note that you may not use the same fd on more than one item.  If you
+want to redirect stdout and stderr, dup it first.
 -}
 pOpen3Raw :: Maybe Fd                      -- ^ Send stdin to this fd
        -> Maybe Fd                      -- ^ Get stdout from this fd

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list