said by pablo:Prior to the exec() call, you call fork(). fork() duplicates the caller. For more information, `man fork'
He's talking about vfork, not fork. vfork was an 'efficiency' hack avoiding the need to invent copy-on-write. Right-thinking programmers consider it to be obsolete.