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 98f535e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-planes-judge.md
@@ -0,0 +1,5 @@
---
"electron-updater": patch
---

fix: removing stdio from spawnSync to fix crash on rpm/deb updaters
1 change: 0 additions & 1 deletion packages/electron-updater/src/BaseUpdater.ts
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 98f535e

Please sign in to comment.