piping with System.Process.createProcess
claudiusmaximus at goto10.org
Thu Feb 5 07:44:13 EST 2009
Bertram Felgenhauer wrote:
> Claude Heiland-Allen wrote:
>> I think I found a bug in the process package.
>> GNU/Linux Debian Lenny
> Hmm, I can't reproduce it in ghc 6.8.3 or 6.10.1. IIRC, there were some
> changes with regards to pipes and broken pipe errors between 6.8.2 and
> 6.8.3, but details elude me.
> Can you try a newer ghc?
http://hackage.haskell.org/trac/ghc/ticket/2233 mentions this:
- Don't use O_NONBLOCK for pipes, as it can confuse the process
attached to the pipe (requires a fix to GHC.Handle in the base
Thus I assume the issue is known, and will be fixed if it hasn't already
been fixed (I haven't had time to check with newer GHC...).
More information about the Libraries