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??
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.
I changed the line where i call the program to:
This means to start program in hight priority. It is much faster and it does not require you to press any keys during execution