subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"""Attempt to install whisper via pip.""" print("Installing whisper...") try: subprocess.run([sys.executable, '-m', 'pip', 'install', '-U', 'openai-whisper'], check=True, capture_output=True) return True except subprocess.CalledProcessError:- Confidence
- 97% confidence
- Finding
- subprocess.run([sys.executable, '-m', 'pip', 'install', '-U', 'openai-whisper'], check=True, capture_output=True)
