Wed Jul 08 13:24:01 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: gab...@gmail.com Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=102709 >
On Wed Jul 08 09:41:49 2015, RSCHUPP wrote: > Hi, > > sorry for the late response, I'm trying to catch up on open bugs: > > On 2015-03-11 20:17:22, gab...@gmail.com wrote: > > I just used pp to package my app to exe. It's running well however > > in my > > app I catch the $SIG{'INT'} event (ctrl-c) so that I can do some > > clean up > > steps before ending. However, since pp actually creates a parent exe > > and > > this exe does not ignore ctrl-c events, the parent closes but my app > > keeps > > running but it doesn't run properly without the parent app and does > > not > > exit. > > What do you mean when you say "my app ... doesn't run properly and > does not exit"? Also, is this a "command line" program or does it have > a GUI (i.e. you packed it using "pp --gui ...")? > Can you cook up a minimal example that shows the problem? > > Cheers, Roderich Under windows parent process is only spawn child, waiting until child exited and perform cleanup (if was packed with --clean). This is obvious, that parent should not exit on CTRL+C. No matter, has child process GUI or this is just command line app.