natemcmaster / dotnet-serve

Simple command-line HTTPS server for the .NET Core CLI

Home Page:https://nuget.org/packages/dotnet-serve/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

End with proper error exit codes

valerysntx opened this issue · comments

From any error state, please return more adequate error codes to OS, this is really helpful for automation tasks
E.g. https://msdn.microsoft.com/en-us/library/ms681382(v=vs.85),

    private const int ERROR = 2;

PR's gladly accepted, please and thank you :)

Closing as this bug is stale. I would still consider a PR for this, but I have not plans to make changes here.