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
In reply to Re: Doing two things at once, fork question. (IPC)
by tye
in thread Doing two things at once, fork question.
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |