On Friday 07 December 2001 11:25 am, you wrote: <snip> > > I don't know if this has to do with Input Events and the queue. I've > > always experienced this behavior with CVS. I haven't tested with earlier > > code.
It's possible that I'm in error, though. I haven't been able to come up with anything simple (or complex) thus far that loses data, including the original program without a sleep call. You can probably ignore this one as 'user error'. :) > Which is odd, because STDOUT and STDERR in the child process are made > unbuffered, and I explicitly close those filehandles before exiting. > > $program->(); > > # In case flushing them wasn't good enough. > close STDOUT if defined fileno(STDOUT); > close STDERR if defined fileno(STDERR); > > Can you put together a simple program that loses data? I'll merge it > into the Wheel::Run tests, and I'll know for sure when it's fixed. > > -- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net