laziness, impatience, and hubris | |
PerlMonks |
Re: capturing output of backticks in child process... or something completely differentby blue_cowdawg (Monsignor) |
on May 29, 2014 at 20:37 UTC ( [id://1087869]=note: print w/replies, xml ) | Need Help?? |
Not 100% sure I understand the issue here, but taking a stab at this: are you saying the parent is not seeing the output in teh variable after the child exits? That makes sense to me and is as I would expect. when you fork off a child the values in memory are inherited by the child as a copy with the original values staying with the parent no matter what the child does. Unless of course the parent changes it. It's the nature of forking. Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
In Section
Seekers of Perl Wisdom
|
|