Fix blank command prompts spawning

prevent certain mono actions from displaying empty command prompts.
This commit is contained in:
Julian Mills 2022-05-12 01:40:34 +02:00 committed by Julian Mills
parent 516ec892b4
commit d606a8eded
2 changed files with 3 additions and 1 deletions

View file

@ -63,6 +63,7 @@ namespace GodotTools.Build
startInfo.RedirectStandardOutput = true; startInfo.RedirectStandardOutput = true;
startInfo.RedirectStandardError = true; startInfo.RedirectStandardError = true;
startInfo.UseShellExecute = false; startInfo.UseShellExecute = false;
startInfo.CreateNoWindow = true;
if (UsingMonoMsBuildOnWindows) if (UsingMonoMsBuildOnWindows)
{ {

View file

@ -184,7 +184,8 @@ namespace GodotTools.Utils
{ {
RedirectStandardOutput = true, RedirectStandardOutput = true,
RedirectStandardError = true, RedirectStandardError = true,
UseShellExecute = false UseShellExecute = false,
CreateNoWindow = true
}; };
using (Process process = Process.Start(startInfo)) using (Process process = Process.Start(startInfo))