Fixes teamcity issue with Console.ReadLine()

This commit is contained in:
Suhas Joshi 2014-12-17 11:50:33 -08:00
parent 2df9d8f098
commit 368e96ad32
1 changed files with 3 additions and 2 deletions

View File

@ -179,8 +179,9 @@ namespace E2ETests
{
FileName = monoPath,
Arguments = string.Format("{0} {1} {2}", klrMonoManaged, applicationHost, startParameters.ServerType.ToString()),
UseShellExecute = true,
CreateNoWindow = true
UseShellExecute = false,
CreateNoWindow = true,
RedirectStandardInput = true
};
var hostProcess = Process.Start(startInfo);