This forum has been archived. Please start a new discussion on GitHub.

Python Server and GUI

I'm having a slight problem. I'm finally ready to take my application to a full level by having a GUI with a ICE.Application server running in the background. Is this possible? What I'm doing so far is placing the Ice.Application instance in a seperate thread in the main thread. However, i'm getting this error :

signal.signal(signal.SIGINT, CtrlCHandler.signalHandler)
ValueError: signal only works in main thread

What are my options?