import signal import pyev def sig_cb(watcher, revents): print("got SIGINT") loop = watcher.loop # optional - stop all watchers if loop.data: ...
確定! 回上一頁