[python-win32] Maybe the wrong newsgroup to ask ?

Stef Mientki stef.mientki at gmail.com
Thu Jan 28 00:23:10 CET 2010


On 28-01-2010 00:08, Tim Roberts wrote:
> 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?
>
>    
thanks Tim,

I set Shell = True, to get rid of that ugly black dos box,
but on second thought pythonw and Shell=False is a better solution.

cheers,
Stef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100128/0faf7b1a/attachment.htm>


More information about the python-win32 mailing list