How to kill a process on Windows (xp 32 bits) in python 2.5? Someone from stackoverlow reported how to import ctypes and do it, but I don't have a ctypes module.
I start the process as follows:
ex=Execution(cmd)
ex.proc.kill()
This gives me an error saying that the Popen object does not have the kill attribute. Using os.kill (ex.pid, signal.SIGKILL) gives a similar error.
source
share