[Twisted-Python] Killing a process
James Y Knight
foom at fuhm.net
Thu Aug 17 12:02:43 EDT 2006
On Aug 17, 2006, at 10:09 AM, Jean-Paul Calderone wrote:
> Process termination with Twisted on Windows is unreliable, though, so
> whether or not it will work in your specific case is uncertain.
I don't think that is true. TerminateProcess works fine to kill a
single process. What isn't supported is killing a processes group, or
asking a process politely to quit.
On Aug 17, 2006, at 11:40 AM, Manlio Perillo wrote:
> Try with http://svn.berlios.de/svnroot/repos/pykill32/trunk/.
> It uses an hack (create a thread on the remote process) but it
> seems to
> work fine, at least with Python process and Twisted.
That shouldn't be necessary if you just want to kill dead the process.
More information about the Twisted-Python