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.
In reply to •Re: How is %ENV copied by child processes ?
by merlyn
in thread How is %ENV copied by child processes ?
by Pardus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |