3 ms·
In that case, the new behavior doesn't make sense. You could call `fork` as the very first thing in a program, and then do all the stuff in the subprocess, and
by captainmuon 9y ago
In that case, the new behavior doesn't make sense. You could call `fork` as the very first thing in a program, and then do all the stuff in the subprocess, and I wouldn't expect it to make a big difference.
Maybe there is an internal `mark_exec_as_called()` function that you could exploit, if you are forking without exec...