Skip to content

Commit 2550759

Browse files
Fix flashing console windows when Docker processes are launched on Windows (#11570)
* Initial plan * Add CreateNoWindow=true to ProcessUtil.Run to fix flashing console windows on Windows Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com>
1 parent ad07d53 commit 2550759

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Aspire.Hosting/Dcp/Process/ProcessUtil.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static (Task<ProcessResult>, IAsyncDisposable) Run(ProcessSpec processSpe
2929
RedirectStandardOutput = true,
3030
RedirectStandardError = true,
3131
UseShellExecute = false,
32+
CreateNoWindow = true,
3233
WindowStyle = ProcessWindowStyle.Hidden,
3334
},
3435
EnableRaisingEvents = true

0 commit comments

Comments
 (0)