You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run the process without trying to read the standard error, everything is fine.
Then, if you run the same process, listening to the standard error, the launched process will freeze.
The standard streams have a maximum buffer. When this buffer is full, then the process is paused until someone reads in the buffer and empty it.
OSSubprocess should handle this case by providing a way to signal that data is available. It could be done by using non-blocking ffi calls to read the buffer.
The text was updated successfully, but these errors were encountered:
When you run a process, it can write some data to the standard output (or error).
Example:
If you run the process without trying to read the standard error, everything is fine.
Then, if you run the same process, listening to the standard error, the launched process will freeze.
The standard streams have a maximum buffer. When this buffer is full, then the process is paused until someone reads in the buffer and empty it.
OSSubprocess should handle this case by providing a way to signal that data is available. It could be done by using non-blocking ffi calls to read the buffer.
The text was updated successfully, but these errors were encountered: