Skip to content

Commit

Permalink
io utils - flush the stream on write to try and get better streaming …
Browse files Browse the repository at this point in the history
…output
  • Loading branch information
itewk committed Oct 20, 2021
1 parent 356a7a5 commit c630d15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ploigos_step_runner/utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def create_sh_redirect_to_multiple_streams_fn_callback(streams):
def sh_redirect_to_multiple_streams(data):
for stream in streams:
stream.write(data)
stream.flush()

return sh_redirect_to_multiple_streams

Expand Down

0 comments on commit c630d15

Please sign in to comment.