-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
[Bug]: Windows: Gateway 关闭 PowerShell 窗口后断连 #44559
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crash
Description
Bug type
Behavior bug (incorrect output/state without crash)
Summary
在 Windows 上使用 openclaw gateway install 安装的计划任务,在关闭 PowerShell 窗口后 Gateway 会断连,必须重新运行 openclaw gateway start 才能恢复。
Steps to reproduce
openclaw gateway install- 计划任务使用 InteractiveToken,依赖用户会话- 手动用
schtasks /Create /TN "OpenClaw Gateway" /TR "..." /SC ONLOGON /RL LIMITED- 配置被忽略,仍使用 InteractiveToken Start-Process后台启动 - 关闭 PowerShell 后 Gateway 仍被杀
Expected behavior
关闭 PowerShell 窗口后 Gateway 应继续在后台运行,用户可以通过浏览器保持连接。
Actual behavior
openclaw gateway install- 计划任务使用 InteractiveToken,依赖用户会话- 手动用
schtasks /Create /TN "OpenClaw Gateway" /TR "..." /SC ONLOGON /RL LIMITED- 配置被忽略,仍使用 InteractiveToken Start-Process后台启动 - 关闭 PowerShell 后 Gateway 仍被杀
OpenClaw version
2026.3.11
Operating system
Windows 11
Install method
No response
Model
Minimax
Provider / routing chain
OpenClaw
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crash
Type
Fields
Give feedbackNo fields configured for issues without a type.