P
Pujo Aji
Hello,
I have a program that run notepad like this:
ProcessStartInfo myP = new ProcessStartInfo();
myP.FileName = "notepad.exe";
using(Process myp = new Process()){
myp.StartInfo = myP;
try{
myp.Start();
myp.WaitForExit();
Console.WriteLine("alles guttes");
}
catch{
Console.WriteLine("fail");
}
}
This is working fine, "alles guttes" will be executed after I close
Notepad.
But when I change the "notepad.exe" with third party vendor software which
processing files and so on, "alles guttes" directly appear and it seems
myp.WaitForExit is not working.
Am I miss something?
Pujo
I have a program that run notepad like this:
ProcessStartInfo myP = new ProcessStartInfo();
myP.FileName = "notepad.exe";
using(Process myp = new Process()){
myp.StartInfo = myP;
try{
myp.Start();
myp.WaitForExit();
Console.WriteLine("alles guttes");
}
catch{
Console.WriteLine("fail");
}
}
This is working fine, "alles guttes" will be executed after I close
Notepad.
But when I change the "notepad.exe" with third party vendor software which
processing files and so on, "alles guttes" directly appear and it seems
myp.WaitForExit is not working.
Am I miss something?
Pujo