Mon Jul 06 01:18:54 2015: Request 102709 was acted upon.
Transaction: Correspondence added by ZDM
Queue: PAR-Packer
Subject: Unable to handle SIG interrupts
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=102709 >
On Sat Jul 04 12:43:51 2015, RSCHUPP wrote:
> On 2015-07-03 23:12:58, ZDM wrote:
> > We need to ignore SIGINT in main process under windows.
>
> > Here is the patch:
>
> First, this isn't Windows specific (makes no sense when not on Windows.
> Second, it isn't the correct solution to the original problem.
>
> Cheers, Roderich
>
Do you see the patch code?
1. It is only for windows.
2. It solves the problem completely. It prevent parent process to exit by
SIGINT. When CTRL+C pressed - windows send SIGINT to process group. Parent
process ignore this signal, but child process catch and process and can exit or
do something else. Parent process exit only after child has finished.