[Twisted-Python] Suppressing terminal window from reactor.spawnProcess?
sflist at ihonk.com
Fri Feb 2 12:09:38 EST 2007
On Fri, 2007-02-02 at 05:25 -0600, Eric Mangold wrote:
> On Fri, 02 Feb 2007 03:52:36 -0600, Phil Mayers <p.mayers at imperial.ac.uk>
> > Is the sub-process another python? If so, use "pythonw.exe"
> If only! :)
> Presumably the only reason he is using Twisted's process spawning API is
> because it connects stdin/out/err to the reactor. Otherwise you should
> just use one of Python's many options.
Actually, Phil may be on to something here. :-) Though it would be nice
for logging purposes, I actually don't need access to to the process's
stdin/out/err. Since I'm communicating with it via sockets, I just need
to launch the process, and then later I need a way to forcibly kill it,
if need be.
More information about the Twisted-Python