subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
"-c:a", "aac", "-ar", "44100", "-ac", "2", output_path ] subprocess.run(cmd_final, capture_output=True, check=True) # 验证输出文件 if os.path.exists(output_path) and os.path.getsize(output_path) > 0:- Confidence
- 79% confidence
- Finding
- subprocess.run(cmd_final, capture_output=True, check=True)
