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

Handle process I/O correctly #318

Closed
ndw opened this issue May 31, 2021 · 1 comment
Closed

Handle process I/O correctly #318

ndw opened this issue May 31, 2021 · 1 comment

Comments

@ndw
Copy link
Owner

ndw commented May 31, 2021

There's a bug in the way that p:exec uses the Process object. I'm just assuming that I can write all of the output (the input to the process) before I read the input (the output from the process). But if the output is large enough, and the process begins writing its output before I finish writing its input, then we can get into a deadlock situation where the process can't continue because it's waiting for someone to read its output and I never get there because I'm stuck waiting to write its input.

ndw added a commit that referenced this issue Jun 12, 2021
ndw added a commit that referenced this issue Jun 12, 2021
@ndw
Copy link
Owner Author

ndw commented Jun 12, 2021

This is fixed in 1.3.0

@ndw ndw closed this as completed Jun 12, 2021
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

No branches or pull requests

1 participant