Skip to content

Do not merge extra env with current env#6655

Merged
headius merged 1 commit intojruby:jruby-9.2from
headius:preserve_env_nonnative_system
Apr 9, 2021
Merged

Do not merge extra env with current env#6655
headius merged 1 commit intojruby:jruby-9.2from
headius:preserve_env_nonnative_system

Conversation

@headius
Copy link
Member

@headius headius commented Apr 9, 2021

The env hash is now peeled off during processing of the argument
array in ShellLauncher, so this is no longer needed and was not
correct in the first place (should have used a dup of ENV at
best.)

Fixes #6554

The env hash is now peeled off during processing of the argument
array in ShellLauncher, so this is no longer needed and was not
correct in the first place (should have used a dup of ENV at
best.)

Fixes jruby#6554
@headius headius added this to the JRuby 9.2.18.0 milestone Apr 9, 2021
@headius headius linked an issue Apr 9, 2021 that may be closed by this pull request
@headius headius merged commit 891e052 into jruby:jruby-9.2 Apr 9, 2021
@headius headius deleted the preserve_env_nonnative_system branch April 9, 2021 16:54
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.

Kernel.system leaks ENV on JRuby + Windows

1 participant