Wyko/netcrawl

Support Keyboard Interrupts

Opened this issue · 0 comments

Wyko commented

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

  • Using the signal module to get the subprocesses to ignore the KeyboardInterrupt, then terminating the workers normally