(pid: int)
| 67 | |
| 68 | |
| 69 | def _pid_alive(pid: int) -> bool: |
| 70 | if pid <= 0: |
| 71 | return False |
| 72 | try: |
| 73 | os.kill(pid, 0) |
| 74 | except ProcessLookupError: |
| 75 | return False |
| 76 | except PermissionError: |
| 77 | return True |
| 78 | return True |
| 79 | |
| 80 | |
| 81 | def _wait_for_devtools_url(proc: subprocess.Popen, timeout: float) -> str: |
no outgoing calls
no test coverage detected