Fix server testing dnx scripts.
This commit is contained in:
parent
430f83e13b
commit
818575c201
|
|
@ -62,7 +62,7 @@ namespace Microsoft.AspNet.Server.Testing
|
||||||
throw new InvalidOperationException("kestrel is the only valid ServerType for Mono");
|
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);
|
Logger.LogInformation("Executing command: dnx {dnxArgs}", dnxArgs);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ namespace Microsoft.AspNet.Server.Testing
|
||||||
commandName = DeploymentParameters.ServerType == ServerType.WebListener ? "web" : "kestrel";
|
commandName = DeploymentParameters.ServerType == ServerType.WebListener ? "web" : "kestrel";
|
||||||
}
|
}
|
||||||
var dnxPath = Path.Combine(ChosenRuntimePath, "dnx.exe");
|
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);
|
Logger.LogInformation("Executing {dnxexe} {dnxArgs}", dnxPath, dnxArgs);
|
||||||
|
|
||||||
var startInfo = new ProcessStartInfo
|
var startInfo = new ProcessStartInfo
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue