-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Here's an attempt at minimising what goes into PATH on startup. Previously, whatever the PATH was set to on the users machine got forwarded into the Rez context, but that's bad as we can never be sure what that PATH actually is. Now we know it includes these three paths, which is what you'll find in a newly installed Windows install. They are added dynamically, based on where `cmd.exe` and `powershell.exe` are first found, which is debatable whether that's desirable. The alternative is simply adding `c:\windows\system32` etc directly, which may be the most secure route.
- Loading branch information
Showing
1 changed file
with
11 additions
and
76 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