Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Problem:

For some reason once in a while my command prompt would hang until I press a random key, and it would continue operation as if nothing happened.

Occurrence:

This happens when I am running a long operation (such as building/compiling some code). When it hangs, it gives no indication of what's going on nor does it prompt me to press any key.

Description:

  1. After a couple minutes, the terminal stops printing out the progress, and gets stuck.
  2. I had thought that it was simply stuck on a very lengthy portion of the compile process, but after a few hours it was still stuck on the exact same place.
  3. I pressed a random key, and it suddenly jumped straight back and continued spewing out progress indicators and continued working.

After this, similar events have happened many times during lengthy processes, such as copying files.

This has happened on multiple devices running windows 7. It has also occurred on ubuntu using bash shell.

share|improve this question
1  
Any of these machines set to sleep at all? –  Windos Jul 18 '11 at 23:04
    
No, the machine doesn't go to sleep, just the terminal apparently. The machines also don't have sleep or any low power modes enabled. And have never once gone into sleep mode in their entire life time (Since I bought/built them) –  Razor Storm Jul 18 '11 at 23:46
    
It sounds like you're having the same issue from two completely different environments (Linux and Windows). So you might ask what do these two things have in common? Is it the same script/code? Copying to the same server? –  Nixphoe Jul 19 '11 at 1:54
    
This has happened many times over several years on completely different tasks. Some things Ive done that I remember: making a build at work, copying some files locally (robocopy on windows and cp on linux), rsync on remote servers, running batch scripts, etc –  Razor Storm Jul 19 '11 at 4:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.