Skip to content

subprocess support #401

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

Open
miketheman opened this issue Jan 3, 2025 · 2 comments · May be fixed by #409
Open

subprocess support #401

miketheman opened this issue Jan 3, 2025 · 2 comments · May be fixed by #409
Labels
enhancement New feature or request

Comments

@miketheman
Copy link
Owner

When running a subprocess() command in the context of a test case, the settings are not carried over into the subprocess, as it has its own execution context.

While there's low likelihood that this library could or should prevent a non-Python command like subprocess.check_call(["curl", "https://example.com"]), if the subprocess is another Python program, we should attempt to apply the same settings to that Python execution.

See how pytest-cov does this: https://pytest-cov.readthedocs.io/en/stable/subprocess-support.html

Copy link

github-actions bot commented Apr 4, 2025

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale Marked stale due to inactivity label Apr 4, 2025
@ichard26
Copy link

go away stale bot

(I will pick this back up once I have time, probably sometime after the pip 25.1 release)

@miketheman miketheman removed the stale Marked stale due to inactivity label Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants