CommandConfig
Namespace: E2E
public sealed class CommandConfigThe command a target’s app.command starts the app with (upstream’s CommandConfig). It is a program and its arguments,
never a shell line: the executable is started directly and each argument is passed as it is.
Inheritance: object
Properties
Section titled “Properties”public IReadOnlyList<string>? Args { get; init; }Its arguments, passed one by one. {port} is replaced by the port the app is served on.
Value: IReadOnlyList<string>
public string? Cwd { get; init; }The working directory, relative to the config’s directory. Unset, that directory.
Value: string
public IReadOnlyDictionary<string, string>? Env { get; init; }Variables the process gets, on top of InheritEnv. {port} in a value is replaced.
Value: IReadOnlyDictionary<string, string>
Executable
Section titled “Executable”public required string Executable { get; init; }The program to start. Required.
Value: string
InheritEnv
Section titled “InheritEnv”public IReadOnlyList<string>? InheritEnv { get; init; }Variable names, or prefixes ending in *, copied from the environment of the run. The process gets only these,
Env, and PATH, HOME, TMPDIR, TMP, TEMP, SystemRoot, and COMSPEC.
Value: IReadOnlyList<string>
public string? Log { get; init; }A file inside the config’s directory that takes the output of the process, appended to across runs.
Value: string
ReuseExisting
Section titled “ReuseExisting”public bool? ReuseExisting { get; init; }Attach to an app that already answers at the readiness URL instead of failing. Ignored in CI.
Value: bool?
ShutdownTimeout
Section titled “ShutdownTimeout”public TimeSpan? ShutdownTimeout { get; init; }How long the app has to stop before it is killed. 10 seconds when unset.
Value: TimeSpan?
StartupTimeout
Section titled “StartupTimeout”public TimeSpan? StartupTimeout { get; init; }How long the app has to become ready. 60 seconds when unset.
Value: TimeSpan?