diff --git a/UnityExternalScriptEditorHelper/Main.cs b/UnityExternalScriptEditorHelper/Main.cs index 4661557..2a43fa9 100644 --- a/UnityExternalScriptEditorHelper/Main.cs +++ b/UnityExternalScriptEditorHelper/Main.cs @@ -38,11 +38,12 @@ public static void Main(string[] args) launchArguments = launchArguments.Replace("*line*", launchLine); File.AppendAllText(logPath, "*****Launching*****"+Environment.NewLine); - File.AppendAllLines(logPath, new string[] {launchApplication, launchArguments}); + File.AppendAllLines(logPath, new string[] {launchApplication, " ", launchArguments}); // Launch the app System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents = false; + proc.StartInfo.UseShellExecute = false; proc.StartInfo.FileName = launchApplication; proc.StartInfo.Arguments = launchArguments; proc.Start(); diff --git a/UnityExternalScriptEditorHelper/UnityExternalScriptEditorHelper.xml b/UnityExternalScriptEditorHelper/UnityExternalScriptEditorHelper.xml index 32b9515..b509a35 100644 --- a/UnityExternalScriptEditorHelper/UnityExternalScriptEditorHelper.xml +++ b/UnityExternalScriptEditorHelper/UnityExternalScriptEditorHelper.xml @@ -2,8 +2,8 @@ -