@@ -217,6 +217,7 @@ public void Pip(string[] args)
217217 run0 . Arguments = "install " + string . Join ( " " , args ) ;
218218 run0 . UseShellExecute = false ;
219219 run0 . RedirectStandardOutput = true ;
220+ run0 . CreateNoWindow = console ;
220221 using ( Process process = Process . Start ( run0 ) )
221222 {
222223 using ( StreamReader reader = process . StandardOutput )
@@ -237,6 +238,7 @@ public void PipUpgrade(string[] args)
237238 run0 . Arguments = "install --upgrade " + string . Join ( " " , args ) ;
238239 run0 . UseShellExecute = false ;
239240 run0 . RedirectStandardOutput = true ;
241+ run0 . CreateNoWindow = console ;
240242 using ( Process process = Process . Start ( run0 ) )
241243 {
242244 using ( StreamReader reader = process . StandardOutput )
@@ -257,6 +259,7 @@ public void PipLocal(string[] args)
257259 run0 . Arguments = "install " + string . Join ( " " , args ) + " --no-index --find-links /" ;
258260 run0 . UseShellExecute = false ;
259261 run0 . RedirectStandardOutput = true ;
262+ run0 . CreateNoWindow = console ;
260263 using ( Process process = Process . Start ( run0 ) )
261264 {
262265 using ( StreamReader reader = process . StandardOutput )
@@ -280,6 +283,7 @@ public void Run(string script)
280283 run0 . Arguments = "python3_13\\ main.py" ;
281284 run0 . UseShellExecute = false ;
282285 run0 . RedirectStandardOutput = true ;
286+ run0 . CreateNoWindow = console ;
283287 using ( Process process = Process . Start ( run0 ) )
284288 {
285289 using ( StreamReader reader = process . StandardOutput )
@@ -297,6 +301,7 @@ public void RunFile(string filePath)
297301 run0 . Arguments = filePath ;
298302 run0 . UseShellExecute = false ;
299303 run0 . RedirectStandardOutput = true ;
304+ run0 . CreateNoWindow = console ;
300305 using ( Process process = Process . Start ( run0 ) )
301306 {
302307 using ( StreamReader reader = process . StandardOutput )
@@ -317,6 +322,7 @@ public string GetOutput(string script)
317322 run0 . Arguments = "python3_13\\ main.py" ;
318323 run0 . UseShellExecute = false ;
319324 run0 . RedirectStandardOutput = true ;
325+ run0 . CreateNoWindow = console ;
320326 using ( Process process = Process . Start ( run0 ) )
321327 {
322328 using ( StreamReader reader = process . StandardOutput )
@@ -334,6 +340,7 @@ public string GetFileOutput(string filePath)
334340 run0 . Arguments = filePath ;
335341 run0 . UseShellExecute = false ;
336342 run0 . RedirectStandardOutput = true ;
343+ run0 . CreateNoWindow = console ;
337344 using ( Process process = Process . Start ( run0 ) )
338345 {
339346 using ( StreamReader reader = process . StandardOutput )
0 commit comments