Skip to content

Commit 98f535e

Browse files
authored
fix: removing stdio from spawnSync to fix crash on rpm/deb updaters (#7628)
1 parent 16d1430 commit 98f535e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/strange-planes-judge.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"electron-updater": patch
3+
---
4+
5+
fix: removing stdio from spawnSync to fix crash on rpm/deb updaters

packages/electron-updater/src/BaseUpdater.ts

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ export abstract class BaseUpdater extends AppUpdater {
119119
protected spawnSyncLog(cmd: string, args: string[] = [], env = {}): string {
120120
this._logger.info(`Executing: ${cmd} with args: ${args}`)
121121
const response = spawnSync(cmd, args, {
122-
stdio: "inherit",
123122
env: { ...process.env, ...env },
124123
encoding: "utf-8",
125124
shell: true,

0 commit comments

Comments
 (0)