CliSettingsProcessTerminationTimeout Property

Enables signaling and handling of process termination (Ctrl+C, SIGINT, SIGTERM) via a CancellationToken that can be passed to a CliAction during invocation. If not provided, a default timeout of 2 seconds is enforced.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public TimeSpan? ProcessTerminationTimeout { get; set; }

Property Value

NullableTimeSpan

See Also