ProcessCommandSpec Properties
Class Properties 7 members
Describes a local process that is started when a process-backed resource command executes.
Gets or sets the command-line arguments for the process.
public IReadOnlyList<string> Arguments { get; init; }Remarks
Arguments are passed using ProcessStartInfo.ArgumentList so that each item is escaped according to the current platform's process-start rules.
Gets or sets the environment variables to set for the process.
public IDictionary<string, string> EnvironmentVariables { get; init; } Gets the executable path or command name to start.
public string ExecutablePath { get; }Remarks
Command names without directory separators are resolved from the AppHost process PATH before starting the process.
Gets or sets a value indicating whether the process should inherit the current environment variables.
public bool InheritEnvironmentVariables { get; init; } Gets or sets a value indicating whether the entire process tree should be killed when the process is disposed.
public bool KillEntireProcessTree { get; init; } Gets or sets standard input content to write to the process after it starts.
public string? StandardInputContent { get; init; } Gets or sets the working directory for the process.
public string? WorkingDirectory { get; init; }