subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# Install requirements into the venv pip_cmd = [_VENV_PYTHON, "-m", "pip", "install", "-q", "-r", _REQUIREMENTS] subprocess.check_call(pip_cmd, stdout=sys.stderr, stderr=sys.stderr) print("Dependencies installed.", file=sys.stderr)- Confidence
- 83% confidence
- Finding
- subprocess.check_call(pip_cmd, stdout=sys.stderr, stderr=sys.stderr)
