Skip to content

Commit

Permalink
Flush on each line
Browse files Browse the repository at this point in the history
  • Loading branch information
tothtamas28 committed Jul 9, 2024
1 parent 5ff4008 commit 722e4f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyk/src/pyk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ def readerthread(
logger.info(f'{log_prefix}{stream_prefix} {line.rstrip()}')
if output_fh:
output_fh.write(line)
output_fh.flush()
input_fh.close()

stdout_buff: list[str] = []
Expand Down

0 comments on commit 722e4f1

Please sign in to comment.