in reply to exec problem
The description of %ENV in perlvar (for 5.6.1) reads:
The hash %ENV contains your current environment. Setting a value in ENV changes the environment for any child processes you subsequently fork() off.There's no mention of %ENV in the description of exec() perlfunc. It's been my experience that if you want to change the environment, you need to fork() first, then exec().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: exec problem
by crenz (Priest) on Mar 14, 2003 at 00:31 UTC | |
|
Re: Re: exec problem
by virtualsue (Vicar) on Mar 14, 2003 at 12:01 UTC | |
|
Re: exec problem
by tejnil (Novice) on Mar 13, 2003 at 23:58 UTC |