subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
import qrcode except ImportError: print("正在安装 qrcode...", file=sys.stderr) subprocess.run([sys.executable, "-m", "pip", "install", "qrcode", "pillow", "-q"]) import qrcode if len(sys.argv) < 2:- Confidence
- 93% confidence
- Finding
- subprocess.run([sys.executable, "-m", "pip", "install", "qrcode", "pillow", "-q"])
