diff --git a/hak/keytar/build.ts b/hak/keytar/build.ts index ec7c8b5a..0920b76d 100644 --- a/hak/keytar/build.ts +++ b/hak/keytar/build.ts @@ -32,6 +32,7 @@ export default async function buildKeytar(hakEnv: HakEnv, moduleInfo: Dependency cwd: moduleInfo.moduleBuildDir, env, stdio: "inherit", + shell: true, }, ); proc.on("exit", (code) => { diff --git a/scripts/hak/link.ts b/scripts/hak/link.ts index 05fd4e62..abe0b015 100644 --- a/scripts/hak/link.ts +++ b/scripts/hak/link.ts @@ -53,6 +53,7 @@ export default async function link(hakEnv: HakEnv, moduleInfo: DependencyInfo): const proc = childProcess.spawn(yarnCmd, ["link"], { cwd: moduleInfo.moduleOutDir, stdio: "inherit", + shell: true, }); proc.on("exit", (code) => { code ? reject(code) : resolve(); @@ -63,6 +64,7 @@ export default async function link(hakEnv: HakEnv, moduleInfo: DependencyInfo): const proc = childProcess.spawn(yarnCmd, ["link", moduleInfo.name], { cwd: hakEnv.projectRoot, stdio: "inherit", + shell: true, }); proc.on("exit", (code) => { code ? reject(code) : resolve(); diff --git a/scripts/set-version.ts b/scripts/set-version.ts index 31083958..8056e676 100755 --- a/scripts/set-version.ts +++ b/scripts/set-version.ts @@ -32,6 +32,9 @@ export async function setPackageVersion(ver: string): Promise { "--new-version", ver, ], + { + shell: true, + }, (err) => { if (err) { reject(err);