[Python-Dev] Popen asynchronous input for Windows

Christian Heimes lists at cheimes.de
Thu Jun 18 20:32:27 CEST 2009


Eric Pruitt schrieb:
> Hello,
> 
> I am looking for alternatives to Josiah Carlson's asynchronous I/O patch for
> subprocess.Popen. While his patch seems to work well, it relies on pywin32
> which is not part of the standard Python library. If I cannot find an
> alternative, I will be using cTypes with the parts of Mark Hammond's code
> that I need, license permitting. Any suggestions are greatly appreciated.

The subprocess module several wrappers for win32 APIs in
Modules/_subprocess.c. You could add the necessary functions.

Christian


More information about the Python-Dev mailing list