I run my program, I enter Ctrl+C, obviously I want to stop the program.
But powershell always asks "do you want to stop the program ? (y/N)".
How can I disable this ? I just want the program to stop without this useless prompt.
EDIT : More details
I have a spring boot app, If I run with java -jar and I stop it with Ctrl+C, no prompt.
If I run it with "mvn spring-boot:run", then I stop it with Ctrl+C, I get the prompt. I don't want this prompt.
Solution : replace mvn spring-boot:run with echo y | mvn spring-boot:run