On Dec 13, 2007, at 13:07 , Yitzchak Gale wrote:
(_,h,e,_) <- runInteractiveCommand "script params" clearStderr output <- hGetContents h where clearStderr is one of: 1. hClose e 2. hGetContents e >>= evaluate . last 3. forkIO (hGetContents e >>= evaluate . last >> return ()) all seem to work for me on Mac OS. Only 2 hangs on Debian testing. What happens on Windows?
PIPE_MAX is only 512 on (older?) Solaris. It's fairly large on Linux and possibly OSX. No clue about Windows.
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED] electrical and computer engineering, carnegie mellon university KF8NH _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe