Multiple choice technology platforms and products

Which system call can you use to create a new process?

  1. exec

  2. wait

  3. process

  4. fork

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The fork() system call creates a new process by duplicating the existing process. The new process is called the child process and is an exact copy of the parent except for the process ID. exec() replaces the current process, wait() waits for child processes, and 'process' is not a system call.