(
args: list[str | Path], check: bool = True, **kwargs: Any
)
| 14 | |
| 15 | |
| 16 | def run( |
| 17 | args: list[str | Path], check: bool = True, **kwargs: Any |
| 18 | ) -> subprocess.CompletedProcess[Any]: |
| 19 | print(" ".join(str(x) for x in args)) |
| 20 | result = subprocess.run(args, check=False, text=True, **kwargs) |
| 21 | if check and result.returncode: |
| 22 | sys.exit(result.returncode) |
| 23 | return result |
| 24 | |
| 25 | |
| 26 | def setup_emscripten(oldtag: str) -> None: |
no test coverage detected