-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-439) Update Environment Variables
Update/refresh environment environment variables with updates from out of process or during subprocesses. The process of updating environment variables involves the following steps: - capture original environment variables - get updated machine/user environment values from the registry - set current environment values with updated items, machine first, then user. This ensures that user values that override system values are set appropriately. - reset process overridden variables (username, processor_architecture) - combine Path, PathExt, PsModulePath with Machine, User, Process values. - Path/PathExt is rebuilt with machine, then user, then process. - PsModulePath is rebuilt with user, then machine, then process.
- Loading branch information
1 parent
7f37556
commit 7552379
Showing
2 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters