Skip to content

Commit

Permalink
fix(wrapper): do not buffer subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Apr 19, 2021
1 parent 7b4917d commit caf49df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mutagen_helper/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ def run(self, command, print_output=False, print_output_if_idle=5000):
process = subprocess.Popen(command,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
bufsize=1)
stderr=subprocess.PIPE)

def enqueue_output(process, out, type, queue):
while True:
Expand Down

0 comments on commit caf49df

Please sign in to comment.