diff options
author | sr55 <[email protected]> | 2008-01-08 17:26:06 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-01-08 17:26:06 +0000 |
commit | dd2fb22560796e89d3349a3ad790efed8d7ac092 (patch) | |
tree | 78c4a4ffd50bd1527e3814eed10ad3d07b87c4e4 /win/C#/frmReadDVD.cs | |
parent | 5eed57a10ac4b0e351d00b67f9f990f79ba2d800 (diff) |
WinGui:
- CMD window no longer appears during scanning
- Fixed FormatException on start up in the Development expiry code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1174 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmReadDVD.cs')
-rw-r--r-- | win/C#/frmReadDVD.cs | 7 |
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))
{
|