Skip to content

Commit

Permalink
(chocolateyGH-14) attempt exec minimized
Browse files Browse the repository at this point in the history
When the process creates a window anyway, attempt to run it minimized.
  • Loading branch information
ferventcoder committed Jun 4, 2015
1 parent 10b4f8c commit 58d0a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chocolatey/infrastructure/commands/CommandExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ bool updateProcessPath
WorkingDirectory = workingDirectory,
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true
CreateNoWindow = true,
WindowStyle = ProcessWindowStyle.Minimized
};

using (var p = initialize_process())
Expand Down

0 comments on commit 58d0a39

Please sign in to comment.