how to kill process and child processes from python? -


for example bash:

 kill -9 -pid  

os.kill(pid, signal.sigkill) kill parent process.

when pass negative pid kill, sends signal process group (absolute) number. equivalent os.killpg() in python.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -