Fix error message with :spawn -d
This commit is contained in:
parent
353f86488a
commit
a08fd0fcb1
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user