Screen properly restores on program not existing.

This commit is contained in:
jyapayne 2012-12-15 22:31:03 -07:00
commit 1c11863f21

View file

@ -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()