subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def kill_process(pid): """Kill a process by PID.""" subprocess.run(["kill", "-9", str(pid)], check=True) def launch_app(bundle_id): """Launch an app by bundle identifier."""- Confidence
- 86% confidence
- Finding
- subprocess.run(["kill", "-9", str(pid)], check=True)
