-
Notifications
You must be signed in to change notification settings - Fork 523
Shutting down issue on Mac OS #26
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
Duplicate to #9 |
Enter doesn't kill the process for me. |
on linux i have to kill the terminal to kill the process :( |
when that happens, I think you have to hit enter multiple number of times to exit process |
Simply hitting Enter doesn't stop kestrel on Ubuntu 14.04. Killing process not a good option to stop a service. |
This issue is in the wrong place. Kestrel is just a web server. https://github.com/aspnet/Hosting is responsible for lifetime management. There is an issue where kestrel doesn't shutdown cleanly but that's tracked by this bug #9 |
Did someone ever add a message after running I kept trying Ctrl+C, then eventually just Ctrl+Z and kill -9 until I stumbled across this thread. |
On OS X just use the terminal. |
The normal way to shutdown Kestrel server is by pressing enter key. On OSX, if the user hits some other key, for example, 'Ctrl + C', the process is hung and cannot be exited. Pressing 'Ctrl+Z' stop the server but the port is blocked by the process. It would be great if the experience can be made better or at least have a default message that says' Press Enter to Exit"
The text was updated successfully, but these errors were encountered: