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?? |
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
In Section
Seekers of Perl Wisdom
|
|