Skip to content

Commit 9b71b10

Browse files
committed
one more time
1 parent 8d1b773 commit 9b71b10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/common/scripts/my-ts-node.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { join, resolve } from "path";
1313
* @param {import("child_process").SpawnOptionsWithoutStdio | undefined} [options]
1414
*/
1515
function runCommand(command, args, options) {
16-
return spawn(command, args, { stdio: "inherit", ...options });
16+
return spawn(command, args, {
17+
stdio: "inherit",
18+
shell: process.platform === "win32",
19+
...options,
20+
});
1721
}
1822

1923
// Function to create a temporary directory and return its path

0 commit comments

Comments
 (0)