Commits

Steve Borho committed aeb04c1

cmdui: only signal finished() if error was 'FailedToStart'

  • Participants
  • Parent commits 74cc519

Comments (0)

Files changed (1)

File tortoisehg/hgqt/cmdui.py

             self.output.emit(
                 msgmap.get(error, _('error while running command\n')),
                 'ui.error')
-            finished(-1)
+            if error == QProcess.FailedToStart:
+                finished(-1)
 
         def stdout():
             data = proc.readAllStandardOutput().data()