subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if not script_path.exists(): continue log_kv("运行", script_name) result = subprocess.run( [python, str(script_path)], cwd=str(project_root), capture_output=True, text=True,- Confidence
- 84% confidence
- Finding
- result = subprocess.run( [python, str(script_path)], cwd=str(project_root), capture_output=True, text=True, )
