linux源代码阅读笔记 fork和execve的区别 1. man exec就可以知到: The exec() family of functions replaces the current process image with a new process image exec是没有创建新进程的,而是把当前进程对应的应用换成新的应用。因此,它里头当前不会去fork了。 2. 这个进程就是执行exec的进程,举个例,如果PID...