Hm, maybe. What version of Perl / IPC::Open3? What platform? I can't reproduce the problem here (5.8.8 / 1.0106, Linux), so we'll have to wait until someone else can...
You have changed waitpid($pid2,0) too, have you? (which is what I implied, but didn't explicitly say) (the problem with WNOHANG is that the process might not yet have terminated at that point, so you wouldn't get a valid return code).
In reply to Re^3: IPC problem
by almut
in thread IPC problem
by gyre007
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |