(self)
| 80 | self._cmdProcess.start() |
| 81 | |
| 82 | def run_command(self): |
| 83 | self._init() |
| 84 | command = self.cmdEdit.text().strip() |
| 85 | if not command: |
| 86 | return |
| 87 | command = command.encode(sys.getdefaultencoding()) + os.linesep.encode( |
| 88 | sys.getdefaultencoding()) |
| 89 | self._cmdProcess.writeData(command) |
| 90 | |
| 91 | def on_started(self): |
| 92 | self.resultView.append('ping process started, pid: %s' % |