
13 Dec
2007
13 Dec
'07
1:09 p.m.
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] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH