Fix server testing dnx scripts.

This commit is contained in:
Chris R 2015-10-01 14:30:01 -07:00
parent 430f83e13b
commit 818575c201
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ namespace Microsoft.AspNet.Server.Testing
throw new InvalidOperationException("kestrel is the only valid ServerType for Mono");
}
var dnxArgs = $"--appbase \"{DeploymentParameters.ApplicationPath}\" Microsoft.Dnx.ApplicationHost kestrel --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
var dnxArgs = $"-p \"{DeploymentParameters.ApplicationPath}\" kestrel --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
Logger.LogInformation("Executing command: dnx {dnxArgs}", dnxArgs);

View File

@ -53,7 +53,7 @@ namespace Microsoft.AspNet.Server.Testing
commandName = DeploymentParameters.ServerType == ServerType.WebListener ? "web" : "kestrel";
}
var dnxPath = Path.Combine(ChosenRuntimePath, "dnx.exe");
var dnxArgs = $"-p \"{DeploymentParameters.ApplicationPath}\" Microsoft.Dnx.ApplicationHost {commandName} --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
var dnxArgs = $"-p \"{DeploymentParameters.ApplicationPath}\" {commandName} --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
Logger.LogInformation("Executing {dnxexe} {dnxArgs}", dnxPath, dnxArgs);
var startInfo = new ProcessStartInfo