From 864a97fa45a9968c1ddf9405f853092b92f843eb Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 14 Mar 2017 20:23:53 +0900 Subject: [PATCH] Output StandardError when an error occurs with a command line invocation. --- osu.Desktop.Deploy/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Desktop.Deploy/Program.cs b/osu.Desktop.Deploy/Program.cs index e47c6b3a01..f14506ce72 100644 --- a/osu.Desktop.Deploy/Program.cs +++ b/osu.Desktop.Deploy/Program.cs @@ -340,6 +340,7 @@ namespace osu.Desktop.Deploy WorkingDirectory = solutionPath, CreateNoWindow = true, RedirectStandardOutput = true, + RedirectStandardError = true, UseShellExecute = false, WindowStyle = ProcessWindowStyle.Hidden }; @@ -348,6 +349,7 @@ namespace osu.Desktop.Deploy if (p == null) return false; string output = p.StandardOutput.ReadToEnd(); + output += p.StandardError.ReadToEnd(); if (p.ExitCode == 0) return true;