[Eventmachine-talk] How to keep a pipe open

Francis Cianfrocca
2007-12-01T05:51:06Z

On Dec 1, 2007 3:55 AM, Bill Kelly <billk at cts.com> wrote:

>
> From: "Bill Kelly" <billk at cts.com>
> >
> > 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.
>
> BTW, I''m not sure how that came across on re-reading it... but
> it was (meant) in the style of me thinking aloud, rather than
> some sort of scolding pontification. <grin>
>
>

Changes made and checked in. Thanks for the discussion, all.
-------------- next part --------------
An HTML attachment was scrubbed...