debug stop all python

This commit is contained in:
Foufure13
2025-01-10 16:47:04 +01:00
parent a22a825704
commit b1ac5c7506
2 changed files with 1 additions and 6 deletions
-4
View File
@@ -27,11 +27,7 @@ import pty
def signal_handler(sig, frame):
os.system('killall python')
sys.exit(0)
signal.signal(signal.SIGINT, signal_handler)
console = Console()