We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b35135e commit a30e387Copy full SHA for a30e387
signal/example_sigint_ign.py
@@ -0,0 +1,10 @@
1
+import time
2
+from signal import *
3
+
4
5
+print("org signal() val:", signal(SIGINT, SIG_IGN))
6
+print("read back signal() val:", signal(SIGINT, SIG_IGN))
7
8
+print("You can't break me - use SIGTERM")
9
+while 1:
10
+ time.sleep(1)
0 commit comments