subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
except ImportError: print("❌ faster-whisper 未安装,正在尝试安装...") import subprocess subprocess.check_call([sys.executable, "-m", "pip", "install", "faster-whisper"]) # 重试 from faster_whisper import WhisperModel- Confidence
- 93% confidence
- Finding
- subprocess.check_call([sys.executable, "-m", "pip", "install", "faster-whisper"])
