From b4f75abb30f94c9fd57c67aa3257edac686b1964 Mon Sep 17 00:00:00 2001 From: can1357 Date: Mon, 29 Jun 2026 16:41:43 +0200 Subject: [PATCH] fix(cli): strip Windows worker fallback executable --- packages/coding-agent/src/subprocess/worker-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coding-agent/src/subprocess/worker-client.ts b/packages/coding-agent/src/subprocess/worker-client.ts index bc788e922..dd3af7d0d 100644 --- a/packages/coding-agent/src/subprocess/worker-client.ts +++ b/packages/coding-agent/src/subprocess/worker-client.ts @@ -104,7 +104,7 @@ export function resolveWorkerSpawnCmd(workerArg: string): WorkerSpawnCommand { return { cmd: [executable, path.basename(hostEntry), workerArg], cwd: path.dirname(hostEntry) }; } const packageRoot = path.resolve(import.meta.dir, "..", ".."); - return { cmd: [process.execPath, "src/cli.ts", workerArg], cwd: packageRoot }; + return { cmd: [executable, "src/cli.ts", workerArg], cwd: packageRoot }; } /**