tests/command: also wait for exit status

This commit is contained in:
Jörg Thalheim
2024-10-31 16:50:14 +01:00
parent 05ea59d38a
commit c02ecc2f67

View File

@@ -49,6 +49,7 @@ class Command:
for p in reversed(self.processes):
with contextlib.suppress(OSError):
os.killpg(os.getpgid(p.pid), signal.SIGKILL)
p.wait()
@pytest.fixture