I have two processes: A and B. At some point A creates B. After creating B, if the process tree is destroyed, I want B to still be around.
I use CreateProcess () to create B, and I cannot find a way to create the process without being a child. Same thing with ShellExecuteEx (), but I probably miss some kind of flag.
Does anyone know what I can use for this?
EDIT: I forgot to mention that both processes require a HANDLE identifier or a process ID for another
Pedro source
share