CS3281 > Lecture 4: Process Creation and Control > Flashcards
Why are fork() and exec() separate?
the separation allows the parent to “fix-up” file descriptors after fork() but before exec() allow the parent to redirect the input and output of the new process