I could issue command
In [41]: !killall "Expert PDF"
to kill a process, or encapsulate it in subprocess
subprocess.run("killall 'Expert PDF'",shell=True)
I wonder how could accomplish such a task with pure python code?
I could issue command
In [41]: !killall "Expert PDF"
to kill a process, or encapsulate it in subprocess
subprocess.run("killall 'Expert PDF'",shell=True)
I wonder how could accomplish such a task with pure python code?