mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ignore SIGINT in safe_atexit worker
This commit is contained in:
parent
2c91a63c7a
commit
dbdc0ecabd
@ -93,6 +93,9 @@ else:
|
||||
|
||||
|
||||
def main():
|
||||
if not iswindows:
|
||||
import signal
|
||||
signal.signal(signal.SIGINT, signal.SIG_IGN)
|
||||
ac_map = {RMTREE_ACTION: remove_dir, UNLINK_ACTION: unlink}
|
||||
for line in sys.stdin.buffer:
|
||||
if line:
|
||||
|
Loading…
x
Reference in New Issue
Block a user