subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: import cairosvg except ImportError: subprocess.check_call([sys.executable, "-m", "pip", "install", "--break-system-packages", "-q", "cairosvg"]) import cairosvg cairosvg.svg2png(url=svg_path, write_to=png_path, scale=scale)- Confidence
- 98% confidence
- Finding
- subprocess.check_call([sys.executable, "-m", "pip", "install", "--break-system-packages", "-q", "cairosvg"])
