From d606a8ededaa9cf8edfa09b4aeaeb92167a48207 Mon Sep 17 00:00:00 2001 From: Julian Mills Date: Thu, 12 May 2022 01:40:34 +0200 Subject: Fix blank command prompts spawning prevent certain mono actions from displaying empty command prompts. --- modules/mono/editor/GodotTools/GodotTools/Build/BuildSystem.cs | 1 + modules/mono/editor/GodotTools/GodotTools/Utils/OS.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/mono') diff --git a/modules/mono/editor/GodotTools/GodotTools/Build/BuildSystem.cs b/modules/mono/editor/GodotTools/GodotTools/Build/BuildSystem.cs index bac7a2e6db..02e9d98647 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Build/BuildSystem.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Build/BuildSystem.cs @@ -63,6 +63,7 @@ namespace GodotTools.Build startInfo.RedirectStandardOutput = true; startInfo.RedirectStandardError = true; startInfo.UseShellExecute = false; + startInfo.CreateNoWindow = true; if (UsingMonoMsBuildOnWindows) { diff --git a/modules/mono/editor/GodotTools/GodotTools/Utils/OS.cs b/modules/mono/editor/GodotTools/GodotTools/Utils/OS.cs index 93a1360cb6..2db549c623 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Utils/OS.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Utils/OS.cs @@ -184,7 +184,8 @@ namespace GodotTools.Utils { RedirectStandardOutput = true, RedirectStandardError = true, - UseShellExecute = false + UseShellExecute = false, + CreateNoWindow = true }; using (Process process = Process.Start(startInfo)) -- cgit v1.2.3