in reply to Script hangs when called via IPC::Open3
But when I move the wait() call to the end of the script, thus below the reading of the handles, it never hangs, not even with a value like 200000 2 million.
I think your buffer space is full, so the writer gets blocked, and wait effectively waits forever, because you never start reading — the writer is blocked forever.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Script hangs when called via IPC::Open3 (Problem)
by ikegami (Patriarch) on Jun 27, 2006 at 22:26 UTC |