[python-win32] Maybe the wrong newsgroup to ask ?
Tim Roberts
timr at probo.com
Thu Jan 28 00:08:18 CET 2010
Stef Mientki wrote:
>
> Showing the code is always difficult for me, because I encapsulate
> these complex things.
> The code I gave above doesn't work either :-)
> I use a kill method that also kills the children and seems to be the
> essential thing is this situation,
> (btw why are there children ?)
There are child processes because you are setting "shell" to true.
Thus, subprocess actually launches cmd.exe, and cmd.exe launches Python.
Is there a reason you need a subshell, or was that superstition?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list