Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Getting environment variable of a processby fullermd (Priest) |
on Dec 30, 2008 at 14:24 UTC ( [id://733253]=note: print w/replies, xml ) | Need Help?? |
is there a way in perl to get the env variables generated by appln s/w may be by giving porcess ID or appln name? There's no portable way in *nix period to get the environment of a process other than yourself. A glance shows some things on CPAN like Shell::GetEnv that may let you run subprocesses and get their info, but I don't know how well that would work with long-running processes, and doesn't help with non-descendant processes anyway. edit: markup fix
In Section
Seekers of Perl Wisdom
|
|