(self, command, *a, **kw)
| 200 | return p.stdout |
| 201 | |
| 202 | def read(self, command, *a, **kw): |
| 203 | p = self._call(command, a, {"stdout": subprocess.PIPE}, |
| 204 | call=False, **kw) |
| 205 | out, err = p.communicate() |
| 206 | if p.returncode != 0: |
| 207 | raise RuntimeError(f"{self.executable} failed") |
| 208 | return out |
| 209 | |
| 210 | def readlines(self, command, *a, **kw): |
| 211 | out = self.read(command, *a, **kw) |
no test coverage detected