In the bash source code, there is a “nofork” condition, which causes bash not to fork a child before executing a program. But why would bash want to execute a program without forking first? This is used by the bash exec built-in, which skips forking and calls execve() directly
0
3
14
2K
7
Download Image