(self, line)
| 125 | return out |
| 126 | |
| 127 | def issue_command(self, line): |
| 128 | line = line.encode('utf-8') + b"\n" |
| 129 | if self.verbose: |
| 130 | sys.stdout.buffer.write(line) |
| 131 | sys.stdout.buffer.flush() |
| 132 | self.proc.stdin.write(line) |
| 133 | self.proc.stdin.flush() |
| 134 | |
| 135 | def run_command(self, line): |
| 136 | self.issue_command(line) |
no test coverage detected