Is there a way to call CreateProcess such that killing the parent process automatically kills the child process?
Perhaps using Create Process Flags?
Edit<
Dont know about windows, but this will work on linux: prctl(PR_SET_PDEATHSIG, SIGHUP);