in reply to How is %ENV copied by child processes ?
To change the %ENV of a child process, you have to do the fork yourself, then change the env before you exec the actual item. A skeleton of this looks like what I just posted in open-coding a system() operation.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How is %ENV copied by child processes ?
by Pardus (Pilgrim) on Apr 21, 2003 at 18:56 UTC |