[wxPython] signal trapping repost

I posted this a few days ago, but haven't had any takers :slight_smile: Am I trying
something just too silly to engender a response? FWIW, the function it's
calling is just a print statement at present and xxx has been INT, USR1 etc.

Original post:

I'd like to send a message from another process (a shell script) and I
thought I could just send SIGxxx and trap it, but this line:

    signal.signal(signal.SIGxxx, self.signal_handler)

doesn't work. The line is in my main window class. Nothing happens
immediately, but as soon as the window gains focus the program segfaults. It
doesn't seem to matter which signal. The program's been stable for months and
I just tried to introduce this change.

Anyone know what the /right/ way to accomplish the same is in wxpython?

···

--
Regards, Paul Evans

"It is the time that you have wasted for your rose that makes your rose so
important."--Antoine de Saint-Exupéry