The job of exec is to replace the current process with a new process. Note the use of the word replace. Once you call exec, the current process is gone and the new process
The job of exec is to replace the current process with a new process. Note the use of the word replace. Once you call exec, the current process is gone and the new process