Handle SIGINT in C and Python (Posting On Python-List Prohibited)
Victor Porton
porton at narod.ru
Thu Feb 1 00:50:14 EST 2018
Lawrence D’Oliveiro wrote:
> On Thursday, February 1, 2018 at 5:57:58 PM UTC+13, Victor Porton wrote:
>> I meant to call poll() from C code, not Python code.
>
> Do you need to use C code at all? Python is quite capable of handling this
> <https://docs.python.org/3/library/select.html>.
I already concluded that I can use Popen.communicate() instead of my
library.
So the issue is closed.
--
Victor Porton - http://portonvictor.org
More information about the Python-list
mailing list