-
Notifications
You must be signed in to change notification settings - Fork 80
Hosting now requires ctrl + c to exit instead of enter #23
New issue
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
Comments
Ugh. Looks like this change brought this back aspnet/KestrelHttpServer#9
|
Nice |
Was that fixed? I get that occasionally on
|
@alfhenrik don't know. Maybe. I wasn't on beta4 on the Mac for long. Didn't come across it on beta5 until this change though. Oh well, it's all beta anyway. |
This hasn't been resolved in Kestrel yet. If you did CTRL+C to a running application before, then the application would call the equivalent of There is no difference between pressing Enter before and CTRL+C now. |
Thanks for that confirmation @Tragetaschen |
Ah, there's one difference in behavior, though: The exception from the Dispose call isn't logged / swallowed anymore, but goes right out of Hosting's Main method to the layers above. With the "old" behavior, if you didn't use a logger like the console logger, you wouldn' see it. |
tty? |
A terminal. When running as a daemon on *nix the terminal is not available by default. For example running kestrel in docker required The container to be attached to a terminal. |
I see, thanks. Makes sense. I had exactly the same problem at adamralph/scriptcs-nancy#96 |
This was a design change that allows command line hosting to be run without a tty
The text was updated successfully, but these errors were encountered: