Commit 8a83848
Ignore SIGINT (#19)
If someone uses hivemind from the Python interactive console/Jupyter notebooks, the keyboard interrupts (Ctrl+C) are propagated to children processes including the libp2p daemon and the daemon gets killed. This PR fixes this behavior, so the daemon continues to run in background.
Co-authored-by: Aleksandr Borzunov <borzunov.alexander@gmail.com>1 parent eba9b65 commit 8a83848
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| 403 | + | |
| 404 | + | |
402 | 405 | | |
403 | 406 | | |
404 | 407 | | |
| |||
0 commit comments