From 7fbd9e5f172e93de5e98e2949a30c7afb83063de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Will=20=E4=BF=9D=E5=93=A5?= <88981+doggy8088@users.noreply.github.com> Date: Tue, 20 Jan 2026 17:53:25 +0800 Subject: [PATCH] Update client.ts Fixes #51 --- nodejs/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/src/client.ts b/nodejs/src/client.ts index f00821a1..b1f20f84 100644 --- a/nodejs/src/client.ts +++ b/nodejs/src/client.ts @@ -724,7 +724,7 @@ export class CopilotClient { } else if (process.platform === "win32" && !isAbsolutePath) { // On Windows, spawn doesn't search PATHEXT, so use cmd /c to resolve the executable. command = "cmd"; - spawnArgs = ["/c", `"${this.options.cliPath}"`, ...args]; + spawnArgs = ["/c", `${this.options.cliPath}`, ...args]; } else { command = this.options.cliPath; spawnArgs = args;