-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting an environment variable to null doesn't work in .netcore. (#8316
) There is a difference between mono and .netcore with regards to environment variables when launching processes. For the following example: process.StartInfo.EnvironmentVariables ["FOO"] = null; .netcore will launch the process with an empty FOO variable, while mono will launch the process with no FOO variable set. So unstead remove the variable from the collection of environment variables (this works fine even if the collection doesn't contain the variable). Ref: dotnet/runtime#34446
- Loading branch information
1 parent
222989d
commit 10063ea
Showing
4 changed files
with
16 additions
and
6 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
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