in reply to Re: Creating External Processes without losing control
in thread Creating External Processes without losing control
exec does not start a new process. exec replaces the current process with a new process executing the given executable. A successful exec will never return, as the original process's code is no longer executing. exec is often combined with fork to split off a child process and cause that process to execute the given executable.
|
|---|