Fix error message with :spawn -d

This commit is contained in:
Florian Bruhin 2017-07-23 21:34:17 +02:00
parent 353f86488a
commit a08fd0fcb1

View File

@ -155,7 +155,7 @@ class GUIProcess(QObject):
self._started = True self._started = True
else: else:
message.error("Error while spawning {}: {}.".format( message.error("Error while spawning {}: {}.".format(
self._what, self._proc.error())) self._what, ERROR_STRINGS[self._proc.error()]))
def exit_status(self): def exit_status(self):
return self._proc.exitStatus() return self._proc.exitStatus()