Fix blank command prompts spawning
prevent certain mono actions from displaying empty command prompts.
This commit is contained in:
parent
516ec892b4
commit
d606a8eded
2 changed files with 3 additions and 1 deletions
|
@ -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 a new issue