in reply to Issue with communication of large data between Parent and child using Perl pipes
Pipes can only hold a limited number of bytes, and your pipe is getting filled.
You have a Deadlock.
Run the parent asynchronously instead of waiting for the child to end, or use qx// to launch the child.
By the way, it's probably not a good idea to use waitpid on a child launched using open. Closing the handle is the appropriate way of reaping the child.
By the way, please put computer text (code, data) in between <c>...</c> tags. It preserves the formatting, escapes characters that need escaping and provides a handy download link.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Issue with communication of large data between Parent and child using Perl pipes
by waavman (Novice) on Jul 20, 2009 at 19:06 UTC |