diff options
author | sr55 <[email protected]> | 2012-09-01 21:55:29 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-09-01 21:55:29 +0000 |
commit | ccd60c79e7bbe7e961885c8d7eb24a6536aeb670 (patch) | |
tree | 71d09543361e930ee1106498544e2248df4b28c6 /win/CS/HandBrake.Server | |
parent | c387255346f64661db1119b644c88311db67ba57 (diff) |
WinGui: Further work in the process isolation service.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4927 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Server')
-rw-r--r-- | win/CS/HandBrake.Server/Program.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/win/CS/HandBrake.Server/Program.cs b/win/CS/HandBrake.Server/Program.cs index baf39e692..3ec5e2248 100644 --- a/win/CS/HandBrake.Server/Program.cs +++ b/win/CS/HandBrake.Server/Program.cs @@ -1,6 +1,7 @@ namespace HandBrake.Server
{
using System;
+ using System.Linq;
using HandBrake.ApplicationServices.Services;
using HandBrake.ApplicationServices.Services.Interfaces;
@@ -18,8 +19,16 @@ /// </param>
static void Main(string[] args)
{
- IServerService server = new ServerService();
- server.Start();
+ if (args.Count() != 1)
+ {
+ Console.WriteLine("Invalid Arguments");
+ Console.ReadLine();
+ }
+ else
+ {
+ IServerService server = new ServerService();
+ server.Start(args[0]);
+ }
}
}
}
|