From 9d2a1926f7380885da29eb4949c16ead57b5698b Mon Sep 17 00:00:00 2001 From: Mike Atkisson Date: Wed, 27 Aug 2025 12:46:16 -0400 Subject: [PATCH] Re-add default value on ProcessTerminationTimeout (#2672) Co-authored-by: Michael Atkisson --- src/System.CommandLine/InvocationConfiguration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.