Properties of exec created processes

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the unix category.

Last Updated: 2022-05-26

Note: This is unix specific


vs. fork


Typically we fork a running program first, then exec the forked child process to run a different program.

Usually we modify child process state (e.g. time zone, working directory, file handlers) after forking but before execing