From 4433d368292890cf71cab94d2b448dfc71eb9632 Mon Sep 17 00:00:00 2001 From: Robert Muehsig Date: Thu, 26 Oct 2017 23:00:16 +0200 Subject: [PATCH] first step in fixing the debug UX related to https://github.com/ElectronNET/Electron.NET/issues/13 --- ElectronNET.CLI/Commands/StartElectronCommand.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ElectronNET.CLI/Commands/StartElectronCommand.cs b/ElectronNET.CLI/Commands/StartElectronCommand.cs index 3ec5147..5f0adee 100644 --- a/ElectronNET.CLI/Commands/StartElectronCommand.cs +++ b/ElectronNET.CLI/Commands/StartElectronCommand.cs @@ -74,7 +74,10 @@ namespace ElectronNET.CLI.Commands Console.WriteLine("Start npm install..."); ProcessHelper.CmdExecute("npm install", tempPath); - ProcessHelper.CmdExecute(@"electron.cmd ""..\..\main.js""", Path.Combine(tempPath, "node_modules", ".bin"), false, false); + string path = Path.Combine(tempPath, "node_modules", ".bin"); + Console.WriteLine("Invoke electron.cmd - in dir: " + path); + + ProcessHelper.CmdExecute(@"electron.cmd ""..\..\main.js""", path); return true; });