rapide has asked for the wisdom of the Perl Monks concerning the following question:
Basically This is the following pseudo:
A: Fork a new thread B
B: Execute an external process C
B: wait for C to finish, then exit
A: While(STDERR | STDOUT) from C
A: print information.
I've been trying with pipes and shared variables but been unable to make it work. Does anyone have code or perhaps simple code to illustrate this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to share streams between processes
by Anonymous Monk on Sep 01, 2008 at 09:03 UTC | |
|
Re: How to share streams between processes
by zentara (Cardinal) on Sep 01, 2008 at 13:33 UTC | |
|
Re: How to share streams between processes
by BrowserUk (Patriarch) on Sep 01, 2008 at 17:55 UTC | |
by rapide (Beadle) on Sep 03, 2008 at 15:55 UTC | |
by BrowserUk (Patriarch) on Sep 03, 2008 at 17:44 UTC | |
by rapide (Beadle) on Sep 06, 2008 at 10:58 UTC |