Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ProcessCommandResultExportOptions

Struct
📦 Aspire.Hosting v17.0.0

ATS-friendly result and command configuration for resource process commands.

type ProcessCommandResultExportOptions struct {
CommandOptions *CommandOptions `json:"CommandOptions"`
MaxOutputLineCount *float64 `json:"MaxOutputLineCount"`
DisplayImmediately *bool `json:"DisplayImmediately"`
SuccessExitCodes []float64 `json:"SuccessExitCodes"`
}

Fields

CommandOptions*CommandOptions
Optional command configuration.
MaxOutputLineCount*float64optional
The maximum number of stdout and stderr output lines returned as command result data.
DisplayImmediately*booloptional
A value indicating whether returned command output should be displayed immediately in the dashboard.
SuccessExitCodes[]float64
The exit codes that are treated as a successful command invocation.