subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
print(" venv creation failed - is python3-venv installed?") return 1 print(f"Installing {' '.join(EXTRAS)}") r = subprocess.run([str(VENV / "bin" / "pip"), "install", "-q", *EXTRAS]) if r.returncode: print(" install failed - see pip output above") return 1- Confidence
- 84% confidence
- Finding
- r = subprocess.run([str(VENV / "bin" / "pip"), "install", "-q", *EXTRAS])
