Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing blank strings #23

Merged
merged 1 commit into from
Aug 3, 2019
Merged

fixing blank strings #23

merged 1 commit into from
Aug 3, 2019

Conversation

nrolland
Copy link

@nrolland nrolland commented Dec 4, 2018

The regular System.Environment.setEnv has a strange behaviour with empty strings

From documentation

Early versions of this function operated under the mistaken belief that setting an environment variable to the empty string on Windows removes that environment variable from the environment. For the sake of compatibility, it adopted that behavior on POSIX.

System.Environment.Blank.setEnv solves this question

Like setEnv, but allows blank environment values and mimics the function signature of setEnv from the unix package.

@dmjio dmjio merged commit 3318a8e into dmjio:master Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants