Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: small bug in snakemake.executors
  • Loading branch information
holtgrewe committed Mar 1, 2022
1 parent ccddf98 commit 6d19f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snakemake/executors/__init__.py
Expand Up @@ -1020,11 +1020,11 @@ def copy_stdout(executor, process):
while process.poll() is None and executor.wait:
buf = process.stdout.readline()
if buf:
self.stdout.write(buf)
sys.stdout.write(buf)
# one final time ...
buf = process.stdout.readline()
if buf:
self.stdout.write(buf)
sys.stdout.write(buf)

def wait(executor, process):
while executor.wait:
Expand Down

0 comments on commit 6d19f7e

Please sign in to comment.