Skip to content

Commit d2693c2

Browse files
fix(io): add windowsHide to login shell env probe on Windows
The execLoginShellEnvZero helper was missing windowsHide: true, causing a PowerShell console window to flash briefly during gateway startup on Windows. This completes the fix started in #48320 and #70308 for the v2026.5.4 code path. Closes #78159
1 parent 4b09c27 commit d2693c2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Docs: https://docs.openclaw.ai
1717

1818
### Fixes
1919

20+
- IO/shell-env: add `windowsHide: true` to `execLoginShellEnvZero` to prevent PowerShell console flash during gateway startup on Windows. Fixes #78159. Thanks @XuZehan-iCenter.
2021
- Plugins/runtime-deps: prune legacy version-scoped plugin runtime-deps roots during bundled dependency repair and cover the path in Package Acceptance's upgrade-survivor matrix, so upgrades from 2026.4.x no longer leave stale per-plugin runtime trees after doctor runs. Thanks @vincentkoc.
2122
- Plugins/runtime-deps: keep Gateway startup plugin imports and runtime plugin fallback loads verify-only after startup/config repair planning, so packaged installs no longer spawn package-manager repair from hot paths after readiness. Refs #75283 and #75069. Thanks @brokemac79 and @xiaohuaxi.
2223
- Voice Call/realtime: add default-off fast memory/session context for `openclaw_agent_consult`, giving live calls a bounded answer-or-miss path before the full agent consult. Fixes #71849. Thanks @amzzzzzzz.

src/infra/shell-env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ function execLoginShellEnvZero(params: {
8989
timeout: params.timeoutMs,
9090
maxBuffer: DEFAULT_MAX_BUFFER_BYTES,
9191
env: params.env,
92+
windowsHide: true,
9293
stdio: ["ignore", "pipe", "pipe"],
9394
});
9495
}

0 commit comments

Comments
 (0)