[Twisted-Python] Python and Win32 command execution

Itamar Shtull-Trauring twisted at itamarst.org
Tue Dec 31 15:18:34 EST 2002

On Tue, 31 Dec 2002 17:47:18 +0100
Bram Moolenaar <Bram at moolenaar.net> wrote:

> It seems your example can be changed to redirect the stdout and stderr
> of the command, invoke CreateProcess() and obtain the exit value.  But
> it's not that simple.
> Do you perhaps know a better solution?

Twisted's latest win32 process running code in
twisted.internet.win32eventreactor, but it might be overkill for what
you need. It's also kind of tied to the event loop.

I'm not sure if I ever intergrated for getting exit value, but there is
an API for it -

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python, Twisted, Zope and Java consulting
***> http://VoteNoWar.org -- vote/donate/volunteer <***

More information about the Twisted-Python mailing list