Windows 10 Command Prompt: Running Programs freeze until Ctrl+C

command linewindowswindows 10

I have been using the command prompt in Windows 10 quite a lot, lately, running stuff like Node.js and Apache Tomcat servers, and I have noticed an odd problem: every now and then, the programs stop responding (in the case of these two, stop serving requests) so I focus the command-prompt window and press Ctrl+C to kill the program, intending to start it again. When I do so, however, the program immediately resumes as if it had been suspended or stuck on a debug breakpoint.

I have noticed it with several programs – not just Node and Tomcat – and want to know how/why this happens and how to stop it from happening – it is a very large problem for me – I am trying to write software using these two servers and can never tell whether my code broke or whether the command prompt just froze up.

Best Answer

This is a pretty old question but I was having this issue and found the answer: Command prompt hangs until keypress?

Related Question