From 58d0a394393a3492c651e90b5328dc59e8ef097c Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Wed, 3 Jun 2015 11:50:59 -0500 Subject: [PATCH] (GH-14) attempt exec minimized When the process creates a window anyway, attempt to run it minimized. --- src/chocolatey/infrastructure/commands/CommandExecutor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chocolatey/infrastructure/commands/CommandExecutor.cs b/src/chocolatey/infrastructure/commands/CommandExecutor.cs index 56a5cce761..05f6eb39d9 100644 --- a/src/chocolatey/infrastructure/commands/CommandExecutor.cs +++ b/src/chocolatey/infrastructure/commands/CommandExecutor.cs @@ -124,7 +124,8 @@ bool updateProcessPath WorkingDirectory = workingDirectory, RedirectStandardOutput = true, RedirectStandardError = true, - CreateNoWindow = true + CreateNoWindow = true, + WindowStyle = ProcessWindowStyle.Minimized }; using (var p = initialize_process())