On Thursday 06 December 2001 04:02 pm, you wrote: > How should I detect EOF on the stdout from POE::Wheel::Run? > > SIGCHLD seems to come well before the last StdoutEvent, buffering > I expect. I also see two ErrorEvents (ARG0='read', ARG1=0). One > soon after the SIGCHLD and another after the last StdoutEvent.
Yeah, I get something like that with my POE::Wheel. Sometimes I don't get all the data from the STDOUT pipe before it finishes up and goes away. I actually resorted to using a sleep 2; call in my Wheel's executed coderef, but that's surely a kludge. > See my test code below.
