[Haskell-cafe] createProcess shutting file handles

Neil Mitchell ndmitchell at gmail.com
Sun Feb 15 04:24:30 EST 2009


>> 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
> createProcess.

However the createProcess command structure has the close_fds flag,
which seems like it should override that behaviour, and therefore this
seems like a bug in createProcess.



More information about the Haskell-Cafe mailing list