Popen asynchronous input for Windows

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. Eric

Thanks for the lead. I have the pywin32 source code and have found the files that appear to contain the code I need inside of some "*.i" files. After a bit of Googling and paying attention to the blatantly obvious *.cpp files, I realized Hammond's code is written in C++ whereas Python uses C. I am familiar with neither language very well but if I can't find a work-around for Windows asynchronous I/O, I will be learning a bit of both of them. Please feel free to suggest any other ideas that don't rely on my sparse knowledge of C and C++. Eric On Thu, Jun 18, 2009 at 13:32, Christian Heimes <lists@cheimes.de> wrote:

Thanks for the lead. I have the pywin32 source code and have found the files that appear to contain the code I need inside of some "*.i" files. After a bit of Googling and paying attention to the blatantly obvious *.cpp files, I realized Hammond's code is written in C++ whereas Python uses C. I am familiar with neither language very well but if I can't find a work-around for Windows asynchronous I/O, I will be learning a bit of both of them. Please feel free to suggest any other ideas that don't rely on my sparse knowledge of C and C++. Eric On Thu, Jun 18, 2009 at 13:32, Christian Heimes <lists@cheimes.de> wrote:
participants (2)
-
Christian Heimes
-
Eric Pruitt