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: do not propagate env changes outside subshells #120

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

dsherret
Copy link
Member

Closes #119

ExecuteResult::Continue(code, Vec::new(), handles)
}
ExecuteResult::Continue(_, _, _) => result,
Copy link
Member Author

@dsherret dsherret Jun 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just went to go fix this in dax and interestingly this was implemented correctly there, but not here.

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx!

@dsherret dsherret merged commit d1430a8 into denoland:main Jun 19, 2024
4 checks passed
@dsherret dsherret deleted the fix_subshell_env branch June 19, 2024 23:26
@dsherret dsherret changed the title fix: do not propogate env changes outside subshells fix: do not propagate env changes outside subshells 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.

Parenthesised commands do not reset cwd at the end
2 participants