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(rust): command subprocess read child's pipes instead of copying them #8793

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adrianbenavides
Copy link
Member

Inheriting pipes in a subprocess leads to problems when the parent process exits before the subprocess does.

This PR changes that behavior so that the pipes from the child and parent processes are detached and the parent drains/consumes the child's pipes directly.

@adrianbenavides adrianbenavides changed the title fix(rust): command subproecss read child's pipes instead of copying them fix(rust): command subprocess read child's pipes instead of copying them Feb 7, 2025
@adrianbenavides adrianbenavides force-pushed the adrian/inverse-stdout-stderr-pipes branch from ee773d5 to 4acfe73 Compare February 7, 2025 08:33
@adrianbenavides adrianbenavides force-pushed the adrian/inverse-stdout-stderr-pipes branch from 4acfe73 to 5b2f7e6 Compare February 7, 2025 18:17
@adrianbenavides adrianbenavides marked this pull request as ready for review February 7, 2025 19:04
@adrianbenavides adrianbenavides requested a review from a team as a code owner February 7, 2025 19:04
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.

1 participant