Fix blank command prompts spawning

prevent certain mono actions from displaying empty command prompts.

(cherry picked from commit d606a8eded)
This commit is contained in:
Julian Mills 2022-05-12 01:40:34 +02:00 committed by Rémi Verschelde
parent 621cb8c52f
commit 99e509a5d2
2 changed files with 3 additions and 1 deletions

View file

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

View file

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