subprocess terminate help

Fredrik Lundh fredrik at pythonware.com
Wed Nov 16 18:36:02 EST 2005


Ernesto wrote

> program.exe ?  I was looking at the Windows task manager after I used a
> Cntrl + C to manually terminate the running python program.  The
> program.exe is apparently ending when I end the python program.

I have to admit that I have no idea what you're doing, really.  The code
you used *explicitly* waits for the "program.exe" program to finish.  If
you don't want that, why are you telling the subprocess module to wait?
If you do want it to wait, why are you killing the python process ?

</F> 






More information about the Python-list mailing list