134 self.proc.readyReadStandardError.connect(self.__readStderr) |
134 self.proc.readyReadStandardError.connect(self.__readStderr) |
135 |
135 |
136 if workingDir: |
136 if workingDir: |
137 self.proc.setWorkingDirectory(workingDir) |
137 self.proc.setWorkingDirectory(workingDir) |
138 self.proc.start('hg', args) |
138 self.proc.start('hg', args) |
139 procStarted = self.proc.waitForStarted() |
139 procStarted = self.proc.waitForStarted(5000) |
140 if not procStarted: |
140 if not procStarted: |
141 self.buttonBox.setFocus() |
141 self.buttonBox.setFocus() |
142 self.inputGroup.setEnabled(False) |
142 self.inputGroup.setEnabled(False) |
143 E5MessageBox.critical(self, |
143 E5MessageBox.critical(self, |
144 self.trUtf8('Process Generation Error'), |
144 self.trUtf8('Process Generation Error'), |