in TeamCity.CSharpInteractive/ProcessManager.cs [46:78]
public bool Start(IStartInfo info, out Exception? error)
{
_startInfo = info;
_process.StartInfo = _startInfoFactory.Create(info);
try
{
if (!_process.Start())
{
error = default;
return false;
}
}
catch (Exception e)
{
error = e;
return false;
}
try
{
Id = _process.Id;
}
catch
{
// ignored
}
_description = _startInfo.GetDescription(Id) + " process";
_process.BeginOutputReadLine();
_process.BeginErrorReadLine();
error = default;
return true;
}