(self, command, *a, **kw)
| 194 | raise RuntimeError(f"{self.executable} failed") |
| 195 | |
| 196 | def pipe(self, command, *a, **kw): |
| 197 | stdin = kw.pop('stdin', None) |
| 198 | p = self._call(command, a, {"stdin": stdin, "stdout": subprocess.PIPE}, |
| 199 | call=False, **kw) |
| 200 | return p.stdout |
| 201 | |
| 202 | def read(self, command, *a, **kw): |
| 203 | p = self._call(command, a, {"stdout": subprocess.PIPE}, |