Skip to content

Commit

Permalink
fix: Rebuild stucks on Windows
Browse files Browse the repository at this point in the history
Close #1472
  • Loading branch information
develar committed Apr 15, 2017
1 parent 24da507 commit 2c52ed2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/electron-builder-util/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function doSpawn(command: string, args: Array<string>, options?: SpawnOpt
options = {}
}
if (options.stdio == null) {
options.stdio = [pipeInput ? "pipe" : "ignore", debug.enabled ? "inherit" : "pipe", "pipe"]
options.stdio = [pipeInput ? "pipe" : "ignore", debug.enabled ? "inherit" : "pipe", debug.enabled ? "inherit" : "pipe"]
}

if (debug.enabled) {
Expand Down
1 change: 0 additions & 1 deletion packages/electron-builder/src/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ function installDependencies(appDir: string, frameworkInfo: DesktopFrameworkInfo
return spawn(execPath, execArgs, {
cwd: appDir,
env: getGypEnv(frameworkInfo, platform, arch, buildFromSource),
stdio: ["pipe", process.stdout, process.stderr]
})
}

Expand Down

0 comments on commit 2c52ed2

Please sign in to comment.