SyntaxFix
Write A Post
Hire A Developer
Questions
For me the only thing that worked is been:
For example
import subprocess proc = subprocess.Popen(["pkill", "-f", "scriptName.py"], stdout=subprocess.PIPE) proc.wait()