This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the unix category.
Last Updated: 2024-11-23
Note: This is unix specific
exec
pid
fork
pid
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 exec
ing