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

Support passing custom pipes and file descriptors to child process #65

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

clue
Copy link
Member

@clue clue commented Dec 2, 2018

This PR adds support for passing custom pipes and file descriptors to child processes. This is considered advanced usage and will only be used when explicitly configured during construction. Additionally, this is a prerequisite for Windows support (#9).

Builds on top of #64
Resolves / closes #12

@clue clue added this to the v0.6.0 milestone Dec 2, 2018
Copy link
Member

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

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

❤️ !

@jsor jsor merged commit 3534ecc into reactphp:master Dec 3, 2018
@clue clue deleted the custom-pipes branch December 3, 2018 11:06
clue added a commit to clue-labs/reactphp-ssh-proxy that referenced this pull request Jan 19, 2019
This fixes a possible race condition where open FDs where in fact
inherited to the wrapping shell before it had a chance to close them
again when it is being replaced with the actual SSH binary. This builds
on top of reactphp/child-process#65
clue added a commit to clue-labs/reactphp-ssh-proxy that referenced this pull request Jan 19, 2019
This fixes a possible race condition where open FDs where in fact
inherited to the wrapping shell before it had a chance to close them
again when it is being replaced with the actual SSH binary. This builds
on top of reactphp/child-process#65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for additional file descriptors
3 participants