Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ProcessCommandSpecExportData

Struct
📦 Aspire.Hosting v17.0.0

ATS-friendly process specification for resource process command callbacks.

type ProcessCommandSpecExportData struct {
ExecutablePath *string `json:"ExecutablePath"`
Arguments []string `json:"Arguments"`
WorkingDirectory *string `json:"WorkingDirectory"`
EnvironmentVariables map[string]string `json:"EnvironmentVariables"`
InheritEnvironmentVariables *bool `json:"InheritEnvironmentVariables"`
StandardInputContent *string `json:"StandardInputContent"`
KillEntireProcessTree *bool `json:"KillEntireProcessTree"`
}

Fields

ExecutablePath*string
The executable path or command name to start.
Arguments[]string
The command-line arguments for the process.
WorkingDirectory*string
The working directory for the process.
EnvironmentVariablesmap[string]string
The environment variables to set for the process.
InheritEnvironmentVariables*booloptional
A value indicating whether the process should inherit the current environment variables.
StandardInputContent*string
Standard input content to write to the process after it starts.
KillEntireProcessTree*booloptional
A value indicating whether the entire process tree should be killed when the process is disposed.