diff --git a/asv/runner.py b/asv/runner.py index 11d746e8f..7f9720816 100644 --- a/asv/runner.py +++ b/asv/runner.py @@ -728,7 +728,7 @@ def __init__(self, env, root): def _stdout_reader(self): try: - out, _ = self.server_proc.communicate() + out = self.server_proc.stdout.read() out = out.decode('utf-8', 'replace') except Exception as exc: import traceback @@ -815,6 +815,7 @@ def close(self): # Kill process group util._killpg_safe(self.server_proc.pid, signal.SIGKILL) + self.server_proc.wait() self.stdout_reader_thread.join() if self._server_output and not self.interrupted: