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:
commit
947a1fa090
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue