subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if script_path and os.path.exists(script_path): print(f"🚀 执行分析脚本: {script_path}") try: result = subprocess.run( [sys.executable, script_path], capture_output=True, text=True,- Confidence
- 96% confidence
- Finding
- result = subprocess.run( [sys.executable, script_path], capture_output=True, text=True, cwd=str(self.ses
