From 111aeb2c4fd83962661182541d6d88e0d6917b2d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 19 Jan 2026 05:42:42 +0000 Subject: [PATCH] fix: cover sync ui spawn on Windows (#1212) (thanks @longmaba) --- CHANGELOG.md | 1 + scripts/ui.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 841bae53f..c80584414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Docs: https://docs.clawd.bot - TUI: add syntax highlighting for code blocks. (#1200) — thanks @vignesh07. ### Fixes +- UI: enable shell mode for sync Windows spawns to avoid `pnpm ui:build` EINVAL. (#1212) — thanks @longmaba. - Plugins: surface plugin load/register/config errors in gateway logs with plugin/source context. - Agents: propagate accountId into embedded runs so sub-agent announce routing honors the originating account. (#1058) - Compaction: include tool failure summaries in safeguard compaction to prevent retry loops. (#1084) diff --git a/scripts/ui.js b/scripts/ui.js index 4aff8e20b..16ad6b0c2 100644 --- a/scripts/ui.js +++ b/scripts/ui.js @@ -68,6 +68,7 @@ function runSync(cmd, args, envOverride) { cwd: uiDir, stdio: "inherit", env: envOverride ?? process.env, + shell: process.platform === "win32", }); if (result.signal) process.exit(1); if ((result.status ?? 1) !== 0) process.exit(result.status ?? 1);