dotnet-installer/src/Microsoft.DotNet.Cli.Utils/CommandResult.cs

18 lines
No EOL
403 B
C#

using System.IO;
namespace Microsoft.DotNet.Cli.Utils
{
public struct CommandResult
{
public int ExitCode { get; }
public string StdOut { get; }
public string StdErr { get; }
public CommandResult(int exitCode, string stdOut, string stdErr)
{
ExitCode = exitCode;
StdOut = stdOut;
StdErr = stdErr;
}
}
}