cmd prompt stuck and continues on enter key press

2019-07-13 11:16发布

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 Enter key in the cmd window the process continues.

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

2条回答
一夜七次
2楼-- · 2019-07-13 11:55

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.

查看更多
不美不萌又怎样
3楼-- · 2019-07-13 12:01

I changed the line where i call the program to:

start /hight <path-to-program> <params>

This means to start program in hight priority. It is much faster and it does not require you to press any keys during execution

查看更多
登录 后发表回答