debug stop all python
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user