starting/killing a process on windows?

Jani Yusef jani at persian.com
Mon Jun 28 17:02:09 EDT 2004


I am using the win32pipe module to create a process like so:
    self.proc_in,self.proc_out,self.proc_err=win32pipe.popen3(self.prog)
How do I kill this process from within my python application?
Obviously, if I exit the script itself this will kill everything but I
would like to kill this subprocess and continue execution. Indeed,
this subprocess is started from within a child thread of my main
application.
Any advice?



More information about the Python-list mailing list