in reply to Re^2: IPC problem
in thread IPC problem
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: IPC problem
by gyre007 (Novice) on Oct 18, 2007 at 13:57 UTC | |
|
Re^4: IPC problem
by gyre007 (Novice) on Oct 18, 2007 at 14:02 UTC | |
by almut (Canon) on Oct 18, 2007 at 14:22 UTC |