using filedescriptors in SIGINT signal handler

Bram Stolk bram at geenspam.sara.nl
Tue Sep 13 08:13:44 EDT 2005


Hello,

I catch SIGINT signals with a handler.
In the handler, I use fd's to write some data to a child process.

Is this valid?
Because the data never arrives, and I wonder what I'm doing wrong.

Can filedescriptors still be used when you're in the signal
handling of SIGINT?

Thanks,

   Bram



More information about the Python-list mailing list