From 3559abed014bb761b8d73afa7b903d149df23350 Mon Sep 17 00:00:00 2001 From: timm-u Date: Sat, 2 May 2026 13:05:51 +0300 Subject: [PATCH] Fix Windows server build command quoting --- apps/server/scripts/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/server/scripts/cli.ts b/apps/server/scripts/cli.ts index efaa2b3b6c..00f9a4be3a 100644 --- a/apps/server/scripts/cli.ts +++ b/apps/server/scripts/cli.ts @@ -151,8 +151,8 @@ const buildCmd = Command.make( cwd: serverDir, stdout: config.verbose ? "inherit" : "ignore", stderr: "inherit", - // Windows needs shell mode to resolve `.cmd` shims on PATH. - shell: process.platform === "win32", + // `process.execPath` is already an absolute executable path. Running it + // through the Windows shell breaks when the path contains spaces. }), );