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

pass through kwargs for run_shell_process #15817

Merged
merged 3 commits into from
Oct 28, 2024
Merged

pass through kwargs for run_shell_process #15817

merged 3 commits into from
Oct 28, 2024

Conversation

zzstoatzz
Copy link
Collaborator

closes #15816

@github-actions github-actions bot added the enhancement An improvement of an existing feature label Oct 27, 2024
Copy link

codspeed-hq bot commented Oct 27, 2024

CodSpeed Performance Report

Merging #15817 will not alter performance

Comparing run-shell-process (878aca1) with main (06f0683)

Summary

✅ 3 untouched benchmarks

@zzstoatzz zzstoatzz self-assigned this Oct 28, 2024
@@ -91,6 +91,7 @@ def run_shell_process(
text=True,
Copy link
Member

Choose a reason for hiding this comment

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

I think we should move the existing hard-coded kwargs to defaults on the popen_kwargs dict to avoid user-provided kwargs conflicting with the internally used ones.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ahh thats a good point - will update

@zzstoatzz zzstoatzz merged commit f029c5b into main Oct 28, 2024
34 checks passed
@zzstoatzz zzstoatzz deleted the run-shell-process branch October 28, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

run_shell_process should support passing the current working directory or environment
3 participants