I think you got the wrong end of the stick there. The desired behaviour is the correct, UNIX style forking. I don't want to fix UNIX to be like Windows in the code, but the other way around. Is it possible to improve the emulation from within the code itself?