From c4a5ac56437debe5891222802863ba71fbb1db04 Mon Sep 17 00:00:00 2001 From: Jacques Bouthillier Date: Wed, 18 Jul 2018 11:27:36 -0400 Subject: [PATCH] GH-2210 Re-establish the electron logger when starting from the command line. Signed-off-by: Jacques Bouthillier --- .../application-manager/src/application-package-manager.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-packages/application-manager/src/application-package-manager.ts b/dev-packages/application-manager/src/application-package-manager.ts index 4443681946fa1..deb08c5fe9b95 100644 --- a/dev-packages/application-manager/src/application-package-manager.ts +++ b/dev-packages/application-manager/src/application-package-manager.ts @@ -78,7 +78,8 @@ export class ApplicationPackageManager { } async startElectron(args: string[]): Promise { - this.__process.spawnBin('electron', [this.pck.frontend('electron-main.js'), ...args]); + this.__process.spawnBin('electron', [this.pck.frontend('electron-main.js'), ...args], + { stdio: [0, 1, 2] }); } async startBrowser(args: string[]): Promise {