Skip to content

Check for empty string from ENV.op_aref#8290

Merged
headius merged 1 commit intojruby:masterfrom
headius:proper_path_fallback_for_spawn
Jun 19, 2024
Merged

Check for empty string from ENV.op_aref#8290
headius merged 1 commit intojruby:masterfrom
headius:proper_path_fallback_for_spawn

Conversation

@headius
Copy link
Member

@headius headius commented Jun 18, 2024

ENV.op_aref can only return nil or a string (no methods that are bound to Ruby should ever return null) so check both of those conditions to determine fallback on default PATH.

Fixes #8289

ENV.op_aref can only return nil or a string (no methods that are
bound to Ruby should ever return null) so check both of those
conditions to determine fallback on default PATH.

Fixes jruby#8289
@headius headius added this to the JRuby 9.4.8.0 milestone Jun 18, 2024
@headius headius merged commit 9720284 into jruby:master Jun 19, 2024
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.

Subprocess launch with shell fails with empty env

2 participants