protected override DeploymentStepStatus DoExecute() { var process = new Process(); process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.FileName = _command; process.StartInfo.Arguments = _arguments; process.Start(); var output = process.StandardOutput.ReadToEnd(); Status.AppendDetails(output); process.WaitForExit(); Status.AppendDetails("Exit code:").AppendDetailsLine(process.ExitCode.ToString()); Status.Status = DeploymentStepStatus.Ok; return(Status); }