Screen properly restores on program not existing.
This commit is contained in:
parent
314da93fbc
commit
1c11863f21
1 changed files with 2 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ class UnixWatchCommand:
|
|||
retcode = process.poll()
|
||||
|
||||
if retcode:
|
||||
self.stop.set()
|
||||
self.restoreScreen()
|
||||
raise subprocess.CalledProcessError(retcode, command,
|
||||
output=output[0])
|
||||
return output.splitlines()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue