From d366207ca47b020c5123cb8960eead53a1bbe6ec Mon Sep 17 00:00:00 2001 From: ZeuZ Agentic Implement Date: Thu, 26 Feb 2026 09:24:39 +0000 Subject: [PATCH] Implement TASK-1435: Handle Ctrl C gracefully --- node_cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/node_cli.py b/node_cli.py index d4e1ce89..65427229 100755 --- a/node_cli.py +++ b/node_cli.py @@ -1423,4 +1423,7 @@ async def main(): await asyncio.sleep(1) -asyncio.run(main()) +try: + asyncio.run(main()) +except KeyboardInterrupt: + signal_handler(signal.SIGINT, None)