subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
missing.append(pkg) if missing: print(f"Installing: {', '.join(missing)}") subprocess.check_call([sys.executable, "-m", "pip", "install"] + missing, stdout=subprocess.DEVNULL) print("Done.")- Confidence
- 84% confidence
- Finding
- subprocess.check_call([sys.executable, "-m", "pip", "install"] + missing, stdout=subprocess.DEVNULL)
