Hello,
I run a program (third party vendor) which writing something in a text files.
My C# program should know if the text program is finished. How can I know if the thread is finished or clossed without checking the keyword in the text files created by the third party vendor).
For example I run the third party vendor using bat files:
Process myP = new Process();
myP.StartInfo.FileName = @"d:\runBat.bat";
myP.Start();
myP.Close();
Then the runBat.bat will run the third party vendor program which will create a text file.
Thanks in advance
ajikoe
I run a program (third party vendor) which writing something in a text files.
My C# program should know if the text program is finished. How can I know if the thread is finished or clossed without checking the keyword in the text files created by the third party vendor).
For example I run the third party vendor using bat files:
Process myP = new Process();
myP.StartInfo.FileName = @"d:\runBat.bat";
myP.Start();
myP.Close();
Then the runBat.bat will run the third party vendor program which will create a text file.
Thanks in advance
ajikoe