fix(scripts): use shell on Windows to fix spawn EINVAL in dev-runner

This commit is contained in:
Fahmin
2026-03-08 00:15:56 +05:30
parent 671a8ae554
commit 346152f67d

View File

@@ -47,7 +47,7 @@ const serverScript = mode === "watch" ? "dev:watch" : "dev";
const child = spawn(
pnpmBin,
["--filter", "@paperclipai/server", serverScript, ...forwardedArgs],
{ stdio: "inherit", env },
{ stdio: "inherit", env, shell: process.platform === "win32" },
);
child.on("exit", (code, signal) => {