Reseed random number generator, because the state gets coppied between forks
Flush standard out and standard error in the forked child, because we call _exit(), which won't flush them, and we want to make sure we see all the output