subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if issue == "gateway_start_failed": try: # 尝试重启 Gateway subprocess.run(["pkill", "-f", "openclaw-gateway"], check=False) time.sleep(2) subprocess.run( ["launchctl", "bootstrap", "gui/$UID",- Confidence
- 84% confidence
- Finding
- subprocess.run(["pkill", "-f", "openclaw-gateway"], check=False)
