Skip to content

Commit fab13a3

Browse files
mpatkissonMichael Atkisson
andauthored
Re-add default value on ProcessTerminationTimeout (#2672)
Co-authored-by: Michael Atkisson <[email protected]>
1 parent 4494d98 commit fab13a3

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)