Merge pull request #60956 from macjuul/hide-mono-cmd-prompt

Prevent blank command prompts from spawning when building a mono project
This commit is contained in:
Rémi Verschelde 2022-05-12 21:23:00 +02:00 committed by GitHub
commit 947a1fa090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

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