subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
cmd = [python_path] + script_args try: result = subprocess.run(cmd, check=False) return result.returncode except Exception as e: print(f"错误: 执行脚本失败: {e}")- Confidence
- 94% confidence
- Finding
- result = subprocess.run(cmd, check=False)
