subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
return pikepdf except ImportError: print(" pikepdf not installed, attempting to install...") subprocess.run( [sys.executable, "-m", "pip", "install", "pikepdf"], check=True, capture_output=True, )- Confidence
- 94% confidence
- Finding
- subprocess.run( [sys.executable, "-m", "pip", "install", "pikepdf"], check=True, capture_output=True, )
