Hello folks,
I have done some search around the forum and could not find a clue for this question. So, I kind ask you to point me, if possible, the right direction so I can solve this question. I want to know if it's possible that when a second instance of the process A is run it's able to open a child process under the first instance of the process A. In other words, I would like to know if it is possible to transfer the children processes from a process A' (second instance of process A) to a process A (first instance of process A)?
Point A:
|->Process A.exe (first instance)
|----->Child1.exe
|----->Child2.exe
|----->Child3.exe
Point B:
|->Process A.exe (second instance) - finds out that there is another instance running and instead of running a Child4.exe under himself it forces Child4.exe into Process A.exe (first instance) and exits. This way Process A.exe (first instance) would be like Point C.
Point C:
|->Process A.exe (first instance)
|----->Child1.exe
|----->Child2.exe
|----->Child3.exe
|----->Child4.exe
Thank you for your attention.
Best regards,
Aeolis