Skip to content

Commit 8348c0d

Browse files
authored
[release/10.0] Re-add default value on ProcessTerminationTimeout (#2674)
2 parents efbc1dc + a3f58f6 commit 8348c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.CommandLine/InvocationConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class InvocationConfiguration
1818
/// that can be passed to a <see cref="CommandLineAction"/> during invocation.
1919
/// If not provided, a default timeout of 2 seconds is enforced.
2020
/// </summary>
21-
public TimeSpan? ProcessTerminationTimeout { get; set; }
21+
public TimeSpan? ProcessTerminationTimeout { get; set; } = TimeSpan.FromSeconds(2);
2222

2323
/// <summary>
2424
/// The standard output. Used by Help and other facilities that write non-error information.

0 commit comments

Comments
 (0)