CliSettingsProcessTerminationTimeout Property

Enables signaling and handling of process termination (Ctrl+C, SIGINT, SIGTERM) via a CancellationToken that can be passed to a CommandLineAction 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: 2.7.0
C#
public TimeSpan? ProcessTerminationTimeout { get; set; }

Property Value

NullableTimeSpan

See Also