summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/CLI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions/CLI.cs')
-rw-r--r--win/C#/Functions/CLI.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/C#/Functions/CLI.cs b/win/C#/Functions/CLI.cs
index 85d1c5569..c1502a462 100644
--- a/win/C#/Functions/CLI.cs
+++ b/win/C#/Functions/CLI.cs
@@ -3,12 +3,20 @@ using System.Collections.Generic;
using System.Threading;
using System.Diagnostics;
using System.Windows.Forms;
+using System.Globalization;
namespace Handbrake.Functions
{
class CLI
{
+ /// <summary>
+ /// CLI output is based on en-US locale,
+ /// we use this CultureInfo as IFormatProvider to *.Parse() calls
+ /// </summary>
+ static readonly public CultureInfo Culture = new CultureInfo("en-US", false);
+
+
Process hbProc = new Process();
public Process runCli(object s, string query, bool stderr, bool stdout, bool useShellExec, bool noWindow)