Skip to content

Commit

Permalink
fix _pipe_log_stream not running consistently for monitored subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Asaf Cohen committed Nov 5, 2024
1 parent 23006ab commit 778cc6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/opal-client/opal_client/engine/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ async def _pipe_logs_stream(stream: asyncio.StreamReader):

line = b""

await asyncio.wait(
[
await asyncio.gather(
*[
_pipe_logs_stream(self._process.stdout),
_pipe_logs_stream(self._process.stderr),
]
Expand Down

0 comments on commit 778cc6f

Please sign in to comment.