diff --git a/src/System.CommandLine/InvocationConfiguration.cs b/src/System.CommandLine/InvocationConfiguration.cs index a7eaeedd85..9338503bee 100644 --- a/src/System.CommandLine/InvocationConfiguration.cs +++ b/src/System.CommandLine/InvocationConfiguration.cs @@ -18,7 +18,7 @@ public class InvocationConfiguration /// that can be passed to a during invocation. /// If not provided, a default timeout of 2 seconds is enforced. /// - public TimeSpan? ProcessTerminationTimeout { get; set; } + public TimeSpan? ProcessTerminationTimeout { get; set; } = TimeSpan.FromSeconds(2); /// /// The standard output. Used by Help and other facilities that write non-error information.