From d40bf9e7dc3edf775c119e0143a33e460d86d8ce Mon Sep 17 00:00:00 2001 From: gobbo_a Date: Mon, 29 Aug 2022 17:59:24 +0200 Subject: [PATCH] Script execution --- script/test/test_abort.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/test/test_abort.py b/script/test/test_abort.py index 6f54b47..730ce3b 100644 --- a/script/test/test_abort.py +++ b/script/test/test_abort.py @@ -16,11 +16,12 @@ def ctype_async_raise(thread, exception): raise SystemError("PyThreadState_SetAsyncExc failed") """ -#import signal +import signal def on_abort(parent_thread): print ("abort") #ctype_async_raise(parent_thread, KeyboardInterrupt) + signal.raise_signal(signal.SIGINT) time.sleep(10.0) \ No newline at end of file