3 ms·Why? Exec is only one thing you might want to do after a fork...by gaius 9y agoWhy? Exec is only one thing you might want to do after a fork...lisper 9y agoBecause exec is the thing you want to do 99% of the time.gaius 9y agoMaaaybe... you might want to daemonize, or you might want to start a "thread" like in the Apache pre-forking mode...lisper 9y agoYeah, there should be a separate daemonize() call too. Pseudo-threading is really the only reason you should ever have to make a direct call to fork().