diff options
Diffstat (limited to 'win/C#/Functions/CLI.cs')
-rw-r--r-- | win/C#/Functions/CLI.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win/C#/Functions/CLI.cs b/win/C#/Functions/CLI.cs index c98d64f47..30c8dd988 100644 --- a/win/C#/Functions/CLI.cs +++ b/win/C#/Functions/CLI.cs @@ -29,7 +29,9 @@ namespace Handbrake.Functions hbProc.StartInfo.RedirectStandardError = stderr;
hbProc.StartInfo.UseShellExecute = useShellExec;
hbProc.StartInfo.CreateNoWindow = noWindow;
+ hbProc.StartInfo.WindowStyle = ProcessWindowStyle.Minimized; // Why doesn't this work??
hbProc.Start();
+
// Set the process Priority
switch (Properties.Settings.Default.processPriority)
@@ -53,6 +55,8 @@ namespace Handbrake.Functions hbProc.PriorityClass = ProcessPriorityClass.BelowNormal;
break;
}
+
+
}
catch
{
|