This commit is contained in:
Michael Lazar
2016-09-27 01:22:14 -07:00
parent 57cb8ab3f0
commit 84f2066f55

View File

@@ -373,7 +373,8 @@ class Terminal(object):
_, stderr = p.communicate() _, stderr = p.communicate()
if copious_output: if copious_output:
six.moves.input('Press any key to continue') six.moves.input('Press any key to continue')
if p.poll() != 0: code = p.poll()
if code != 0:
_logger.warning(stderr) _logger.warning(stderr)
self.show_notification( self.show_notification(
'Program exited with status={0}\n{1}'.format( 'Program exited with status={0}\n{1}'.format(