Hello,
My program launch an aplication, ie. called APL.exe. Also APL.exe launch console applications CON1.exe and CON2.exe.
My application can be launched twice in the same machine, so there could be two instances of CON1.exe and CON2.exe.
Sametimes, APL.exe exits, but CON1.exe and CON2.exe for that proccess remain without killing, so they are orphan. It is no often but it happens.
I need a method to kill CON1.exe and CON2.exe with are orphan, as the other CON1.exe and CON2.exe are running under a running instance of APL.exe.
Are there any way to do this?
thx in advance