in reply to Doing two things at once, fork question.
No, if you fork, then the two processes are separate and won't share an array. You could use threads but there is a much sexier technique that seems a much better idea for this situation: Redirect the output to a file and then read and process the output from that file when you feel like it.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Doing two things at once, fork question. (IPC)
by mhearse (Chaplain) on Mar 07, 2008 at 19:42 UTC |