Hi,

I am invoking QApplication eventloop(i.e., GUI). One of my requirement is also to support batch execution.

since one of my dependent library expects my application to be GUI, I need to use QApplication. Therefore am not using QCoreApplication.

My problem is if I try to execute my exe in command prompt with command line parameters the cmd prompt wont wait untill execution completes.

Is there any way where I can wait/hold the command prompt till the execution completes.

Hope my question is clear.

Thanks.