From efec886f73b5c1021fef4d2eb2324fa3f91255c1 Mon Sep 17 00:00:00 2001 From: rafael-aero Date: Wed, 25 Aug 2021 11:33:32 +0200 Subject: [PATCH] Update main.js --- ElectronNET.Host/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElectronNET.Host/main.js b/ElectronNET.Host/main.js index 3d74bd8..d02f575 100644 --- a/ElectronNET.Host/main.js +++ b/ElectronNET.Host/main.js @@ -320,7 +320,7 @@ function startAspCoreBackend(electronPort) { if (manifestJsonFile.hasOwnProperty('detachedProcess')) { detachedProcess = manifestJsonFile.detachedProcess; if (detachedProcess) { - stdioopt = 'ignore'; + stdioopt = ['ignore', 'pipe', 'pipe']; } } @@ -376,7 +376,7 @@ function startAspCoreBackendWithWatch(electronPort) { if (manifestJsonFile.hasOwnProperty('detachedProcess')) { detachedProcess = manifestJsonFile.detachedProcess; if (detachedProcess) { - stdioopt = 'ignore'; + stdioopt = ['ignore', 'pipe', 'pipe']; } }