140 self.proc.readyReadStandardError.connect(self.__readStderr) |
140 self.proc.readyReadStandardError.connect(self.__readStderr) |
141 |
141 |
142 if workingDir: |
142 if workingDir: |
143 self.proc.setWorkingDirectory(workingDir) |
143 self.proc.setWorkingDirectory(workingDir) |
144 self.proc.start('hg', args) |
144 self.proc.start('hg', args) |
145 procStarted = self.proc.waitForStarted() |
145 procStarted = self.proc.waitForStarted(5000) |
146 if not procStarted: |
146 if not procStarted: |
147 self.buttonBox.setFocus() |
147 self.buttonBox.setFocus() |
148 self.inputGroup.setEnabled(False) |
148 self.inputGroup.setEnabled(False) |
149 E5MessageBox.critical(self, |
149 E5MessageBox.critical(self, |
150 self.trUtf8('Process Generation Error'), |
150 self.trUtf8('Process Generation Error'), |