ProcessCommandSpec
Class sealed net8.0
Describes a local process that is started when a process-backed resource command executes.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ProcessCommandSpec{ // ...} 8 members
Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesArgumentsget; initIReadOnlyList<string> Gets or sets the command-line arguments for the process.
EnvironmentVariablesget; initIDictionary<string, string> Gets or sets the environment variables to set for the process.
ExecutablePathgetstring Gets the executable path or command name to start.
InheritEnvironmentVariablesget; initbool Gets or sets a value indicating whether the process should inherit the current environment variables.
KillEntireProcessTreeget; initbool Gets or sets a value indicating whether the entire process tree should be killed when the process is disposed.
StandardInputContentget; initstring? Gets or sets standard input content to write to the process after it starts.
WorkingDirectoryget; initstring? Gets or sets the working directory for the process.