diff --git a/__main__.py b/__main__.py index 362f3902c..f47080ccc 100644 --- a/__main__.py +++ b/__main__.py @@ -31,7 +31,10 @@ def runpy(args: List[str]) -> None: def hold(args: List[str]) -> None: import subprocess - ret = subprocess.Popen(args[1:]).wait() + try: + ret = subprocess.Popen(args[1:]).wait() + except KeyboardInterrupt: + pass from kitty.utils import hold_till_enter hold_till_enter() raise SystemExit(ret)