summaryrefslogtreecommitdiffstats
path: root/win/C#/frmReadDVD.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmReadDVD.cs')
-rw-r--r--win/C#/frmReadDVD.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs
index d7a074938..300c21e48 100644
--- a/win/C#/frmReadDVD.cs
+++ b/win/C#/frmReadDVD.cs
@@ -90,12 +90,13 @@ namespace Handbrake
string strCmdLine = String.Format(@"cmd /c """"{0}"" -i ""{1}"" -t0 -v >""{2}"" 2>&1""", handbrakeCLIPath, inputFile, dvdInfoPath);
- using (Process hbproc = Process.Start("CMD.exe", strCmdLine))
+ ProcessStartInfo hbParseDvd = new ProcessStartInfo("CMD.exe", strCmdLine);
+ hbParseDvd.WindowStyle = ProcessWindowStyle.Hidden;
+ using (Process hbproc = Process.Start(hbParseDvd))
{
hbproc.WaitForExit();
// TODO: Verify exit code if the CLI supports it properly
- }
-
+ }
if (!File.Exists(dvdInfoPath))
{