subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
except ImportError: print("[INFO] Installing Pillow...") import subprocess subprocess.check_call([sys.executable, "-m", "pip", "install", "Pillow", "-q"]) from PIL import Image- Confidence
- 91% confidence
- Finding
- subprocess.check_call([sys.executable, "-m", "pip", "install", "Pillow", "-q"])
