IISController now wraps config path (in argument) with quotes to allow for paths with spaces

pull/3113/head
Mark McDowall 14 years ago
parent 4e5c354cd6
commit 19c7702647

File diff suppressed because it is too large Load Diff

@ -35,7 +35,7 @@ namespace NzbDrone
IISProcess = new Process(); IISProcess = new Process();
IISProcess.StartInfo.FileName = IISExe; IISProcess.StartInfo.FileName = IISExe;
IISProcess.StartInfo.Arguments = String.Format("/config:{0} /trace:i", IISConfigPath);//"/config:"""" /trace:i"; IISProcess.StartInfo.Arguments = String.Format("/config:\"{0}\" /trace:i", IISConfigPath);//"/config:"""" /trace:i";
IISProcess.StartInfo.WorkingDirectory = Config.ProjectRoot; IISProcess.StartInfo.WorkingDirectory = Config.ProjectRoot;
IISProcess.StartInfo.UseShellExecute = false; IISProcess.StartInfo.UseShellExecute = false;

Loading…
Cancel
Save