本文介绍了命令提示卡住,并继续按Enter键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当命令提示符运行进程时,是否有人遇到过这种情况,然后卡住并且进程也处于休眠状态。
然后,当我们在cmd窗口中按键时,过程将继续。

Does anyone come across a scenario when the command prompt is running a process and then it gets stuck and the process is also sleeping.Then when we press key in the cmd window the process continues.

有什么办法可以避免这种情况?
还是可以处理??

Is there any way to avoid this?or can this be handled??

推荐答案

如果其他进程占用了所有周期并具有更高的prio,那么您的过程可能会停止。用户输入可能只是给它带来了提升,因此它又重新开始了。请参阅了解更多信息。

If other processes are sucking all the cycles and have a higher prio, then your process might be stopped. A user input might just give it a prio boost, so it starts again. See Microsoft Docs at https://docs.microsoft.com/en-us/windows/win32/procthread/priority-boosts for more information.

这篇关于命令提示卡住,并继续按Enter键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 03:46