We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using System.CommandLine; new MyRootCommand().Invoke(args); sealed class MyRootCommand : RootCommand { public MyRootCommand() { this.SetHandler(() =>{ System.Console.WriteLine("Sleeping forever."); Thread.Sleep(int.MaxValue); }); } }
This app should terminate when the user presses Ctrl+C .
Ctrl+C
It does so when using the package from nuget.org (2.0.0-beta4.22272.1), but it does not with the package from https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json (2.0.0-beta4.22613.1).
2.0.0-beta4.22272.1
2.0.0-beta4.22613.1
It may have regressed in #1502, see #1502 (comment).
cc @Keboo @jonsequitur @adamsitnik
The text was updated successfully, but these errors were encountered:
adamsitnik
Successfully merging a pull request may close this issue.
This app should terminate when the user presses
Ctrl+C
.It does so when using the package from nuget.org (
2.0.0-beta4.22272.1
), but it does not with the package from https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json (2.0.0-beta4.22613.1
).It may have regressed in #1502, see #1502 (comment).
cc @Keboo @jonsequitur @adamsitnik
The text was updated successfully, but these errors were encountered: