()
| 740 | raise RuntimeError(f"Remote connection lost: {e}") |
| 741 | |
| 742 | def remote_running() -> bool: |
| 743 | r = conn.run(f"ps -p {process_info.pid} -o pid=", hide=True, warn=True, in_stream=False) |
| 744 | return bool((r.stdout or "").strip()) |
| 745 | |
| 746 | start_wait = time.time() |
| 747 | while True: |