185 """ |
185 """ |
186 self.process.setReadChannel(QProcess.StandardOutput) |
186 self.process.setReadChannel(QProcess.StandardOutput) |
187 |
187 |
188 while self.process.canReadLine(): |
188 while self.process.canReadLine(): |
189 s = str(self.process.readLine(), |
189 s = str(self.process.readLine(), |
190 Preferences.getSystem("IOEncoding"), |
190 Preferences.getSystem("IOEncoding"), |
191 'replace') |
191 'replace') |
192 if self.rx_path.exactMatch(s): |
192 if self.rx_path.exactMatch(s): |
193 if self.lastProp: |
193 if self.lastProp: |
194 self.__generateItem( |
194 self.__generateItem( |
195 self.lastPath, self.lastProp, self.propBuffer) |
195 self.lastPath, self.lastProp, self.propBuffer) |
196 self.lastPath = self.rx_path.cap(1) |
196 self.lastPath = self.rx_path.cap(1) |
214 error pane. |
214 error pane. |
215 """ |
215 """ |
216 if self.process is not None: |
216 if self.process is not None: |
217 self.errorGroup.show() |
217 self.errorGroup.show() |
218 s = str(self.process.readAllStandardError(), |
218 s = str(self.process.readAllStandardError(), |
219 Preferences.getSystem("IOEncoding"), |
219 Preferences.getSystem("IOEncoding"), |
220 'replace') |
220 'replace') |
221 self.errors.insertPlainText(s) |
221 self.errors.insertPlainText(s) |
222 self.errors.ensureCursorVisible() |
222 self.errors.ensureCursorVisible() |