I am genuinely surprised there is no easy way to make sure that your children processes won't outlive you, neither on Windows or Linux. When I ran into this problem the first time, I thought there had to be a CREATE_DONT_OUTLIVE_PARENT flag for CreateProcess, but there wasn't.
↧