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']; } }