public Process CreateProcess()

in TeamCity.dotCover/DotCoverToolProcess.cs [22:36]


    public Process CreateProcess()
    {
        var toolPath = TryGetToolPath(_settings.ToolPath) ?? TryGetToolPath(_dotCoverInfo.ToolPath);
        return new Process
        {
            StartInfo = new ProcessStartInfo
            {
                UseShellExecute = false,
                RedirectStandardOutput = true,
                RedirectStandardError = true,
                FileName = toolPath,
                Arguments = _dotCoverInfo.CommandArgs
            }
        };
    }