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

Fix put_env inconsistency between platforms #230

Closed
wants to merge 1 commit into from

Conversation

tobil4sk
Copy link
Member

@tobil4sk tobil4sk commented Aug 26, 2021

When put_env is called with an empty string for v, it now unsets the variable on all platforms, not just Windows.

Fixes #229

* When `put_env` is called with an empty string for `v`, it now unsets
the variable on all platforms, not just windows
@tobil4sk tobil4sk changed the title Fix put_env inconsistency between platforms #229 Fix put_env inconsistency between platforms Aug 26, 2021
@tobil4sk
Copy link
Member Author

The fact that it worked this way on Windows is something that occurs on most targets. Instead of changing the way this function works with "" on other platforms, a cross-target way of unsetting variables should be introduced to Haxe.

HaxeFoundation/haxe/issues/10395

@tobil4sk tobil4sk closed this Sep 20, 2021
@tobil4sk tobil4sk deleted the fix-env branch September 25, 2021 22:42
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.

Unable to unset environment variable on linux
1 participant