subprocess terminate help

Fredrik Lundh fredrik at pythonware.com
Wed Nov 16 22:29:48 CET 2005


Ernesto wrote

> I've been searching for ways to terminate this process so I can exit my
> program.  program.exe is a text based interface which I'm running with
> python subprocess in a DOS command window.  I tried using 'sys.exit()'
> to end my program, but nothing works.  I think I have to somehow
> terminate the subprocesses I create.  Any suggestions?

someone calling himself "Ernesto" posted this link yesterday:

    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/347462

</F> 






More information about the Python-list mailing list