Open sondt2709 opened 3 weeks ago
Issue Summary: When using subprocess in Python with pipe_stderr=True but not reading from it, there are potential issues related to blocking behavior.
pipe_stderr=True
Steps to Reproduce:
max_connection_time
in_bytes = process.stdout.read(self.chunk * 2)
Expected Behavior: The subprocess should execute normally.
Actual Behavior: Hang forever at line in_bytes = process.stdout.read(self.chunk * 2)
Suggested Fix: Remove pipe_stderr=True or read stderr
Can I create a fix PR?
@sondt2709 feel free to open a PR with the Fix. thanks!
Issue Summary: When using subprocess in Python with
pipe_stderr=True
but not reading from it, there are potential issues related to blocking behavior.Steps to Reproduce:
max_connection_time
to more than 10 mins to make sure it doesn't relate to websocket.in_bytes = process.stdout.read(self.chunk * 2)
in client.pyExpected Behavior: The subprocess should execute normally.
Actual Behavior: Hang forever at line
in_bytes = process.stdout.read(self.chunk * 2)
Suggested Fix: Remove
pipe_stderr=True
or read stderrCan I create a fix PR?