I set the command line of webstrom to git bash, because the ps that comes with windows is a little difficult to use and a lot of commands report errors. no, no, no.
but normally in a separate git bash, I can exit the process by using ctrl + c. For example, when I start the local development of webpack-dev-server, I quit directly ctrl + c, but in the command line of webstorm, I ctrl + c the entire command line exits, and the terminal window is closed (it has to be reopened). I don"t know if there is any way to modify it.