[Twisted-Python] Suppressing terminal window from reactor.spawnProcess?

Eric Mangold teratorn at twistedmatrix.com
Fri Feb 2 21:08:36 EST 2007


On Fri, 02 Feb 2007 19:07:44 -0600, Eric Mangold  
<teratorn at twistedmatrix.com> wrote:
[...]
> It's better to control the parent process. You can easily use  
> CreateProcess yourself, and use OpenProcess followed by TerminateProcess  
> to kill it. All these functions are in pywin32 which you already have if  
> you're using spawnProcess.

Actually you don't need OpenProcess since CreateProcess returns the handle  
you need.

-- 
Eric Mangold
Twisted/Win32 Co-Maintainer




More information about the Twisted-Python mailing list