[Eventmachine-talk] How to keep a pipe open

Bill Kelly
2007-11-30T18:33:25Z

From: Francis Cianfrocca
>
> On Nov 30, 2007 6:44 PM, Bill Kelly <billk at cts.com> wrote:
> >
> > If I''m not mistaken, the parent closes sv[1] right after the
fork()
> > anyway.
>
> You''ve used this feature as much as anyone, Bill. Any reason not
to
> make this change?

It looks like the Right Thing To Do(tm).

EM (the parent) only cares about sv[0], and the child only
cares about sv[1].

And it makes sense that a typical child program would NOT
expect its stdin/stdout to be in non-blocking mode by default.


Regards,

Bill