host.py: exit cleanly Hunter Tuesday, March 10th, 2026 at 9:57 PM
| host.py | +4 | -1 |
70 python_path = setup_venv() 71 72 # Re-run this script with the venv Python - subprocess.check_call([str(python_path), __file__, "--in-venv"]) 73 + try: 74 + subprocess.check_call([str(python_path), __file__, "--in-venv"]) 75 + except (KeyboardInterrupt, subprocess.CalledProcessError): 76 + pass 77 sys.exit(0) 78 79