subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # 停止现有 Gateway log("停止现有 Gateway...") subprocess.run( ["pkill", "-f", "openclaw.*gateway"], capture_output=True )- Confidence
- 84% confidence
- Finding
- subprocess.run( ["pkill", "-f", "openclaw.*gateway"], capture_output=True )
