# RunProcessAndCaptureStdOutResult

- Kind: `record`
- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Version: `13.2.0`
- Namespace: `Aspire.Hosting.AWS.Utils.Internal`
- Target framework: `net8.0`
- Implements: `IEquatable<RunProcessAndCaptureStdOutResult>`

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Definition

```csharp
namespace Aspire.Hosting.AWS.Utils.Internal;

public record RunProcessAndCaptureStdOutResult
    : System.IEquatable<Aspire.Hosting.AWS.Utils.Internal.IProcessCommandService.RunProcessAndCaptureStdOutResult>
{
    // ...
}
```

## Constructors

- [RunProcessAndCaptureStdOutResult(int, string)](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/constructors.md#constructor-int-string)

## Properties

- [ExitCode](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/properties.md#exitcode) : `int` `get; init`
- [Output](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/properties.md#output) : `string` `get; init`

## Methods

- [<Clone>$](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#clone) : [RunProcessAndCaptureStdOutResult](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult.md) `virtual`
- [Deconstruct(int, string)](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#deconstruct-int-string)
- [Equals(object?)](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#equals-object) : `bool` -- Determines whether the specified object is equal to the current object.
- [Equals(RunProcessAndCaptureStdOutResult?)](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#equals-runprocessandcapturestdoutresult) : `bool` `virtual` -- Indicates whether the current object is equal to another object of the same type.
- [GetHashCode](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#gethashcode) : `int` -- Serves as the default hash function.
- [op_Equality(RunProcessAndCaptureStdOutResult?, RunProcessAndCaptureStdOutResult?)](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#op-equality-runprocessandcapturestdoutresult-runprocessandcapturestdoutresult) : `bool` `static`
- [op_Inequality(RunProcessAndCaptureStdOutResult?, RunProcessAndCaptureStdOutResult?)](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#op-inequality-runprocessandcapturestdoutresult-runprocessandcapturestdoutresult) : `bool` `static`
- [ToString](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult/methods.md#tostring) : `string` -- Returns a string that represents the current object.
