Answers for "Python script to kill a process in linux"

1

linux kill python

ps -elf | grep python
kill -9 <whatever_the_PID_is>
Posted by: Guest on February-03-2021
1

kill and run process in windows python

import os
os.system("taskkill /im make.exe")
Posted by: Guest on October-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language