Skip to content

Commit

Permalink
fix: removing stdio from spawnSync to fix crash on rpm/deb updaters
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta committed Jun 24, 2023
1 parent 16d1430 commit 4874739
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/electron-updater/src/BaseUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export abstract class BaseUpdater extends AppUpdater {
protected spawnSyncLog(cmd: string, args: string[] = [], env = {}): string {
this._logger.info(`Executing: ${cmd} with args: ${args}`)
const response = spawnSync(cmd, args, {
stdio: "inherit",
env: { ...process.env, ...env },
encoding: "utf-8",
shell: true,
Expand Down

0 comments on commit 4874739

Please sign in to comment.