subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
import openai as _openai except ImportError: print("Installing openai...", flush=True) subprocess.check_call([sys.executable, "-m", "pip", "install", "openai", "--break-system-packages", "-q"]) import openai as _openai- Confidence
- 95% confidence
- Finding
- subprocess.check_call([sys.executable, "-m", "pip", "install", "openai", "--break-system-packages", "-q"])
