diff --git a/rhasspy3/program.py b/rhasspy3/program.py index f32f0b8..36cce2d 100644 --- a/rhasspy3/program.py +++ b/rhasspy3/program.py @@ -32,7 +32,7 @@ async def __aexit__(self, exc_type, exc, tb): try: if self.proc.returncode is None: self.proc.terminate() - await self.proc.wait() + await self.proc.communicate() except ProcessLookupError: # Expected when process has already exited pass