[Haskell-cafe] createProcess shutting file handles

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Feb 13 15:52:56 EST 2009

On Fri, 2009-02-13 at 15:38 +0000, Neil Mitchell wrote:

> What have I done wrong? Did createProcess close the handle, and is
> there a way round this?

The docs for runProcess says:

        Any Handles passed to runProcess are placed immediately in the
        closed state.

but the equivalent seems to be missing from the documentation for

I'm not exactly sure what the justification is. I thought at first it
might be for the H98 many readers or single writer rule, but it's not
obvious how that applies here.


More information about the Haskell-Cafe mailing list