Skip to content

Commit 2c52ed2

Browse files
committed
fix: Rebuild stucks on Windows
Close #1472
1 parent 24da507 commit 2c52ed2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/electron-builder-util/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export function doSpawn(command: string, args: Array<string>, options?: SpawnOpt
8383
options = {}
8484
}
8585
if (options.stdio == null) {
86-
options.stdio = [pipeInput ? "pipe" : "ignore", debug.enabled ? "inherit" : "pipe", "pipe"]
86+
options.stdio = [pipeInput ? "pipe" : "ignore", debug.enabled ? "inherit" : "pipe", debug.enabled ? "inherit" : "pipe"]
8787
}
8888

8989
if (debug.enabled) {

packages/electron-builder/src/yarn.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ function installDependencies(appDir: string, frameworkInfo: DesktopFrameworkInfo
7171
return spawn(execPath, execArgs, {
7272
cwd: appDir,
7373
env: getGypEnv(frameworkInfo, platform, arch, buildFromSource),
74-
stdio: ["pipe", process.stdout, process.stderr]
7574
})
7675
}
7776

0 commit comments

Comments
 (0)