Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Stratus3D
Copy link
Member

The old code did not allow the equals sign in the environment variable value. But the equals sign is a valid character in value.

Fixes #1876

The old code did not allow the equals sign in the environment variable
value. But the equals sign is a valid character in value.

Fixes #1876
@Stratus3D Stratus3D marked this pull request as ready for review February 4, 2025 02:17
@Stratus3D Stratus3D requested a review from a team as a code owner February 4, 2025 02:17
@Stratus3D Stratus3D merged commit e63aec6 into master Feb 4, 2025
8 checks passed
@Stratus3D Stratus3D deleted the tb/env-var-parse-fix branch February 4, 2025 02:19
@tomciopp
Copy link

This seems to still be broken in asdf I'm running version 0.16.3 and am running into this issue.

@Stratus3D
Copy link
Member Author

@tomciopp can you provide steps to reproduce?

@tomciopp
Copy link

using asdf v0.16.3 with elixir 0.18.2 and erlang 27.2.3 on most recent Mac OS.

export TEST="foo=abc"

$: iex

1: System.get_env("TEST") => nil

@Stratus3D
Copy link
Member Author

@tomciopp I'm seeing it as well. Definitely an issue with 0.16.3.

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.

bug: 0.16 doesn't pass current shell environment variables to command

3 participants