3 ms·Because exec is the thing you want to do 99% of the time.by 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().