in reply to Re: Listening to a child for a while, then passing its output along
in thread Listening to a child for a while, then passing its output along
This doesn't answer any of my questions, sadly. Here's a short version of them, restated:
without screwing up the the real filehandles? (This would effect a passthrough of the child's stdout and stderr.)open(CHILD_STDOUT, ">&STDOUT"); open(CHILD_STDERR, ">&STDERR");
The link you gave tells me what I already know how to do -- open a child and listen to its output. What I need to do is stop listening at some point, while letting the child continue, and echoing whatever else it says after that point to whoever might be listening to my STDOUT or STDERR.
|
|---|