Changing environment variable of a running process
In general, you can only influence a process’s environment variables at the time the process starts up. If you need to communicate a change to a running process, the environment isn’t the right tool. However, this question has some answers that suggest ways to overcome this limitation. Edited to add in light of discussion in … Read more