What survives a successful exec

A process with PID 5120 has file descriptor 3 open on log.txt, without the close-on-exec flag, and its parent is PID 5000. It calls execvp("sort", args) and the call succeeds. Which of the following statements are true?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Concurrent Programs Questions: