On Mon, Jan 21, 2002 at 10:57:20AM -0700, Chris Fedde wrote: > The following code gives me two identical read errors. Is there a way to > tell which is associated with the close of the stdout file handle?
[code] Not yet, but only because an interface for it hasn't been hashed out. Would it be better to receive two error events or just one after both handles closed? If two error events, I can add a new argument (ARG4?) with a copy of the file handle. The code to deal with both handles is left as an exercise for others. If one error event, then the wheel can take care of waiting for the process to fully close. On the other hand, code that uses Wheel::Run will have less control over how the child program cleans up. -- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net
