diff options
author | sr55 <[email protected]> | 2007-08-24 21:10:32 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-08-24 21:10:32 +0000 |
commit | 2548077aee301044b45aca605f6949fec78903a9 (patch) | |
tree | 53473ca73979892b2118cbf57c93dd704ab67bcf /win/C#/frmReadDVD.cs | |
parent | 056b3e7f595b417c956b633ab20e79f6747aa70e (diff) |
WinGui:
- Fixed View DVD Information window not loading the dvdinfo.dat file every time the window is launched.
- Fixed a small file path issue with frmReadDVD
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@865 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmReadDVD.cs')
-rw-r--r-- | win/C#/frmReadDVD.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs index ad5551188..caef654cd 100644 --- a/win/C#/frmReadDVD.cs +++ b/win/C#/frmReadDVD.cs @@ -85,9 +85,8 @@ namespace Handbrake */
try
{
- string appPath = Application.StartupPath.ToString();
- appPath = appPath + "\\";
- string strCmdLine = "cmd /c " + '"' + '"' + appPath + "\\hbcli.exe" + '"' + " -i" + '"' + inputFile + '"' + " -t0 >" + '"'+ appPath + "\\dvdinfo.dat" + '"' + " 2>&1" + '"';
+ string appPath = Application.StartupPath.ToString()+ "\\";
+ string strCmdLine = "cmd /c " + '"' + '"' + appPath + "hbcli.exe" + '"' + " -i " + '"' + inputFile + '"' + " -t0 >" + '"'+ appPath + "dvdinfo.dat" + '"' + " 2>&1" + '"';
Process hbproc = Process.Start("CMD.exe", strCmdLine);
hbproc.WaitForExit();
hbproc.Dispose();
@@ -96,7 +95,6 @@ namespace Handbrake StreamReader sr = new StreamReader(appPath + "dvdinfo.dat");
thisDvd = Parsing.DVD.Parse(sr);
-
sr.Close();
Console.ReadLine();
|