Windows command prompt freezing randomly

command linescriptwindows 7

My Windows command prompt will randomly freeze up when running an Ant script. The script has no spots in it where it waits for user input.

Also, when it freezes I can unfreeze it by focusing the command window and pressing enter. After pressing enter, the process continues.

This happens completely randomly. And it seems like it will eventually continue on its on, but it will sit there for several minutes before continuing. But if I press enter, it does it instantly.

What is going on?

(Would this be better for Stack Overflow? I do not believe this has anything to do with my code, because there is no spot asking for user input. So i am assuming it has something to do with Windows.)

Best Answer

Disable the QuickEdit Mode and\or Insert option from the cmd properties. Problem solved