command-line-api icon indicating copy to clipboard operation
command-line-api copied to clipboard

ProcessTerminationTimeout is null for 2.0.0

Open JamesNK opened this issue 1 month ago • 1 comments

using System.CommandLine;

var invokeConfig = new InvocationConfiguration()
{
    EnableDefaultExceptionHandler = true
};

Console.WriteLine($"ProcessTerminationTimeout: {invokeConfig.ProcessTerminationTimeout?.ToString() ?? "(null)"}");
Console.ReadKey();

Result:

Image

I'm confused because it is included in the release/10.0 branch: https://github.com/dotnet/command-line-api/pull/2674/files and https://github.com/dotnet/command-line-api/blob/release/10.0/src/System.CommandLine/InvocationConfiguration.cs#L21

JamesNK avatar Nov 18 '25 00:11 JamesNK

Given that releases reference to tags (no branches) you should look content of v2.0.0 tag instead.

PetSerAl avatar Nov 20 '25 16:11 PetSerAl