0

I have an exe, where my exe invokes a java app, i have the process id's of this both, exe and java app. When my exe is invoked by other vc++ App(cppApp), My issue is when ever cppApp is closed, it terminates my exe, as my exe is invoking a java app, it is not getting cleaned up. My cppApp is using terminate process to terminate my exe, i have the logic in my exe for cleaning up child process which my exe is invoking, but i think when terminate process is called, it is the hard terminate as we do from task manager and not cleaning up the called process(i.e, java App). Is there any way to terminate both my exe and its calling process gracefully?

Juseeth
  • 467
  • 1
  • 6
  • 18

0 Answers0