Added debug information

This commit is contained in:
Anton Hvornum 2022-02-12 15:03:41 +01:00
parent 201b5ed2c0
commit bcc8aa0477
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ class SysCommandWorker:
def is_alive(self) -> bool:
self.poll()
if self.started and self.exit_code is not None:
if self.started and self.exit_code is None:
return True
return False
@ -486,7 +486,7 @@ class SysCommand:
if not self.session:
self.session = session
while self.session.ended is None:
while self.session.exit_code is None:
self.session.poll()
if self.peak_output: