Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Howdy!
The child process cannot change the parent process's environment. Period. Stop. End of story. On the other hand, if the child process diddles its environment and concludes by running 'env', the parent can capture that output and use it (or whatever subset it cares to take) to update its own environment. See Re: UNIX environment setup via perl for my take on this...
yours, Michael In reply to Re: Reading and setting the environment from a shell script for the calling program
by herveus
|
|