Class ExecOptions
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Controls process working directory, environment, and output logging.
public record ExecOptions : IEquatable<ExecOptions>Derived
Properties
Environment
Transforms an immutable snapshot of the current process environment into the complete child environment for each launch attempt.
public Func<ImmutableDictionary<string, string>, ImmutableDictionary<string, string>>? Environment { get; init; }Property Value
Log
Controls standard-output and standard-error logging; when omitted, DotNetDo.ExecLog.Default is used.
public ExecLog? Log { get; init; }Property Value
LogCommand
Whether to log the command and working directory before execution.
public bool LogCommand { get; init; }Property Value
WorkingDirectory
The directory in which the operation executes.
public AbsolutePath? WorkingDirectory { get; init; }