diff --git a/src/decman/lib/__init__.py b/src/decman/lib/__init__.py index 9fd0574..c92bb41 100644 --- a/src/decman/lib/__init__.py +++ b/src/decman/lib/__init__.py @@ -922,11 +922,11 @@ class _OutputCapturingThread(threading.Thread): def run(self): while not self.done and not self._stream.closed: - output = self._stream.read() + output = self._stream.read(1000) if output: output = output.decode() self.output += output - print(output, end="") + print(output, end="", flush=True) time.sleep(0.1)