So what you're doing is spawning a new process and setting an environment variable in that process. Then the process exits, the environment variable is lost, and you're left scratching your head. (Just thought you might like to know why system wasn't appropriate here. :)
In reply to Re: setting enviornment variables for parent process
by chromatic
in thread setting enviornment variables for parent process
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |