dotnet / dotnet/command-line-api

ProcessTerminationTimeout is null for 2.0.0

Open
#2,739 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

```cs
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.