Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/System.CommandLine/InvocationConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class InvocationConfiguration
/// that can be passed to a <see cref="CommandLineAction"/> during invocation.
/// If not provided, a default timeout of 2 seconds is enforced.
/// </summary>
public TimeSpan? ProcessTerminationTimeout { get; set; }
public TimeSpan? ProcessTerminationTimeout { get; set; } = TimeSpan.FromSeconds(2);

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