subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# 安装依赖 pip_path = venv_path / "bin" / "pip" subprocess.run([str(pip_path), "install", "ebooklib", "opencc-python-reimplemented"], check=True) print("✅ 依赖安装完成")- Confidence
- 93% confidence
- Finding
- subprocess.run([str(pip_path), "install", "ebooklib", "opencc-python-reimplemented"], check=True)
