(cmd: List[str])
| 70 | |
| 71 | # ---------------- bootstrap ---------------- |
| 72 | def _run(cmd: List[str]) -> bool: |
| 73 | try: |
| 74 | res = subprocess.run(cmd, check=False) |
| 75 | return res.returncode == 0 |
| 76 | except Exception: |
| 77 | return False |
| 78 | |
| 79 | |
| 80 | def which(name: str) -> Optional[str]: |
no test coverage detected