Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: what is the method to get the environment from child process ?

by Tux (Canon)
on Nov 10, 2010 at 06:52 UTC ( [id://870500]=note: print w/replies, xml ) Need Help??


in reply to what is the method to get the environment from child process ?

When you are running on an OS that has/supports the proc filesystem, you could read /proc/$pid/environ, but I'm not sure if that is (always) updated if the environment changes for the (sub)process, or that it just reflects the environment at startup. YMMV.


Enjoy, Have FUN! H.Merijn
  • Comment on Re: what is the method to get the environment from child process ?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-25 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found