'python reload system environment variable
I'm looking for a way to reload the environment variable from the system that isn't part of the app.
when you start an application from windows, all the environment variable from the system are copied into the process which can then be accessed by os.environ[] but these variable can end up being modified or out of date.
I need to launch child process from the current app with fresh unmodified environment variable, which are unfortunately not available in the host application I use because they get heavily modified during startup and I have no control over that.
I can't find any information about if that even possible.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
