subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
except ImportError: print("Installing mysql-connector-python...", file=sys.stderr) import subprocess subprocess.check_call([ sys.executable, "-m", "pip", "install", "--break-system-packages", "-q", "mysql-connector-python" ])- Confidence
- 93% confidence
- Finding
- subprocess.check_call([ sys.executable, "-m", "pip", "install", "--break-system-packages", "-q", "mysql-connector-python" ])
