CliSettings.ProcessTerminationTimeout Property
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
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.
public TimeSpan? ProcessTerminationTimeout { get; set; }