Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: capturing output of backticks in child process... or something completely different

by blue_cowdawg (Monsignor)
on May 29, 2014 at 20:37 UTC ( [id://1087869]=note: print w/replies, xml ) Need Help??


in reply to capturing output of backticks in child process... or something completely different

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1087869]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found