From 346152f67d784893295c9b6fc0e08f0adfbc0b1c Mon Sep 17 00:00:00 2001 From: Fahmin Date: Sun, 8 Mar 2026 00:15:56 +0530 Subject: [PATCH] fix(scripts): use shell on Windows to fix spawn EINVAL in dev-runner --- scripts/dev-runner.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev-runner.mjs b/scripts/dev-runner.mjs index 71039492..43262fd6 100644 --- a/scripts/dev-runner.mjs +++ b/scripts/dev-runner.mjs @@ -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) => {