Currently, when the application runs and is interrupted, there is no code to gracefully exit execution. Especially when scanning with subprocesses, as they have a tenancy to stick around after the interrupt.
Objective
Implement support for interrupts.
Ideas
[ ] Using the signal module to get the subprocesses to ignore the KeyboardInterrupt, then terminating the workers normally
Problem
Currently, when the application runs and is interrupted, there is no code to gracefully exit execution. Especially when scanning with subprocesses, as they have a tenancy to stick around after the interrupt.
Objective
Implement support for interrupts.
Ideas
signal
module to get the subprocesses to ignore theKeyboardInterrupt
, then terminating the workers normally