(self, obj)
| 58 | return "".join(self._stderr) |
| 59 | |
| 60 | def _send(self, obj): |
| 61 | data = json.dumps(obj, ensure_ascii=False).encode("utf-8") |
| 62 | self.proc.stdin.write(data + b"\n") |
| 63 | self.proc.stdin.flush() |
| 64 | |
| 65 | def _read_message(self, timeout=60): |
| 66 | result = {} |