Hello I'm trying to implement a signal handler mechanism into my Qt Console application to quit it when a unix signal is catched
So I used the standard library c function signal in signal.h registering a handler for SIGTERM signal.
Then I start doing some stuff and in particular I'm reading the stdin using a QTextStream(stdin).readline() method.
The point is that when I'm waiting for the input on the readline the application does not catch the SIGTERM signal
Can someone explain me why?
thank you in adavance
Bookmarks