(cmd, cwd=".")
| 164 | |
| 165 | |
| 166 | def run(cmd, cwd=".") -> str: |
| 167 | logger.debug(f"Running in {cwd}: {cmd}") |
| 168 | p = _run(shlex.split(cmd), stdout=PIPE, stderr=STDOUT, encoding="utf8", cwd=cwd) |
| 169 | if p.returncode != 0: |
| 170 | print(p.stdout) |
| 171 | print(p.stderr) |
| 172 | raise Exception |
| 173 | return p.stdout |
| 174 | |
| 175 | |
| 176 | def pr_linkify(prid: str, org: str, repo: str) -> str: |
no outgoing calls
no test coverage detected