Hi all...

I am calling one console application from my application and passing some parameters for its execution; after the console program runs successfully, it outputs a text file. and then closes itself automatically. (Takes some time to output text file.)

I want to know when does this program ends. so that i can read the completly created text file.

Is there any way to know this ?

Thanks
MMH.