Skip to content

Commit

Permalink
one more time
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Nov 10, 2023
1 parent 8d1b773 commit 9b71b10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/common/scripts/my-ts-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ import { join, resolve } from "path";
* @param {import("child_process").SpawnOptionsWithoutStdio | undefined} [options]
*/
function runCommand(command, args, options) {
return spawn(command, args, { stdio: "inherit", ...options });
return spawn(command, args, {
stdio: "inherit",
shell: process.platform === "win32",
...options,
});
}

// Function to create a temporary directory and return its path
Expand Down

0 comments on commit 9b71b10

Please sign in to comment.