How do I capture SIGINT in Python on Windows?

后端 未结 1 1745
野性不改
野性不改 2021-01-06 10:45

(Similar to this question)

On UNIX under Python 2.7, at the Python prompt:

 >>> import signal
 >>> def handler(signal, frame):
 ...         


        
相关标签:
1条回答
  • 2021-01-06 11:37

    After opening the bug upstream the root cause of the problem was found and a patch was written. This patch won't be going into the python 2.x series.

    0 讨论(0)
提交回复
热议问题