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()
|
console = Console()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -34,7 +34,7 @@ from fonction.first_class import messageTwitch
|
|||||||
from fonction.second_fonction import *
|
from fonction.second_fonction import *
|
||||||
|
|
||||||
|
|
||||||
# def signal_handler():
|
# def r():
|
||||||
# os.system('killall python')
|
# os.system('killall python')
|
||||||
# sys.exit(0)
|
# sys.exit(0)
|
||||||
|
|
||||||
@@ -46,7 +46,6 @@ def stop_all():
|
|||||||
recordTw.stop()
|
recordTw.stop()
|
||||||
sb_translation.stop()
|
sb_translation.stop()
|
||||||
ask_text.stop()
|
ask_text.stop()
|
||||||
# signal_handler()
|
|
||||||
|
|
||||||
def print_help():
|
def print_help():
|
||||||
hprint("PURPLE", "Touche 'F5'BOT Active l'écoute clavier")
|
hprint("PURPLE", "Touche 'F5'BOT Active l'écoute clavier")
|
||||||
|
|||||||
Reference in New Issue
Block a user