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
Git bash terminal on windows doesn't send any signal on close ( at least it seems like it ) #1258
Comments
It does. |
I have such code, node js express server
I've looked through this repository to gather all the signals, and it seems none of them are being sent on a git bash terminal close So I open windows terminal and the git bash.. terminal there.. run my server, then I close the terminal by clicking on the 'x' button at the top right of the window.. then I reopen a terminal, run the server again, and it throws port blabla is already in use, so this means that the prev server wasn't close on the terminal window close, and I'd like it to do so... so that's why I'm asking this. Thank you:) when I press ctrl+c then SIGINT is sent, ok, but I want the process to close gracefully just on a terminal window close without pressing ctrl+c |
When asked to quit, mintty checks whether to prompt for confirmation. If quitting is not cancelled, it sends a SIGHUP to its child process group, unless the Shift key is also pressed, in which case it sends SIGKILL. |
I see... soo the only option is to use some windows terminal? or maybe there is still a way to make it work with git bash? Thank you |
Getting back to this... |
Or does it? Thank you
The text was updated successfully, but these errors were encountered: