Hi all,
I'm trying to catch signals and user interrupts in my application to
perform some cleanup, but having trouble getting this to work on MSYS2 (up
to date as of this morning). To get to the bottom of this, I've written
this minimal (not) working example:
-
Can you try this on the Git for Windows shell/bash and see if it works there?
On Thu, Dec 1, 2016 at 11:44 AM, J-Donald Tournier wrote:
> Hi all,
>
> I'm trying to catch signals and user interrupts in my application to perform
> some cleanup, but having trouble getting this to work on MSYS2 (up t
Just downloaded Git for Windows, and ran this:
$ export PATH=/c/msys64/mingw64/bin/:$PATH
$ gcc catch_ctrl-c.cpp -o catch_ctrl-c
$ ./catch_ctrl-c.exe
- tick -
- tick -
$
same result - no handler invoked on Ctrl-C...
Not sure whether simply adding /c/msys64/mingw64/bin to the PATH was the
right