private static void DisplayErrorMessage(QProcess proc) { if (proc.ExitCode != 0) { if (proc.solutionString(proc.ExitCode) != null) Messages.DisplayErrorMessage(SR.GetString("Helpers_ExitError", proc.ExitCode.ToString()) + "\r\n" + proc.errorString(proc.ExitCode), proc.solutionString(proc.ExitCode)); else Messages.DisplayErrorMessage(SR.GetString("Helpers_ExitError", proc.ExitCode.ToString()) + "\r\n" + proc.errorString(proc.ExitCode)); } }