commit 725ff78d5097b3024431a2d5601a04236661c016
parent c35ef68ff5de4ac11166a59d9f8bfb80fa290d4f
Author: Hunter
Date:   Tue, 10 Mar 2026 21:57:04 -0400

host.py: exit cleanly

Diffstat:
Mhost.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/host.py b/host.py @@ -70,7 +70,10 @@ def run_in_venv(): python_path = setup_venv() # Re-run this script with the venv Python - subprocess.check_call([str(python_path), __file__, "--in-venv"]) + try: + subprocess.check_call([str(python_path), __file__, "--in-venv"]) + except (KeyboardInterrupt, subprocess.CalledProcessError): + pass sys.exit(0)