About 2,460,000 results
Open links in new tab
  1. What does `exec "$@"` do? - Unix & Linux Stack Exchange

    Sep 5, 2018 · The exec will replace the current process with the process resulting from executing its argument. In short, exec "$@" will run the command given by the command line parameters …

  2. Please explain the exec () function and its family

    May 21, 2020 · What is the exec() function and its family? Why is this function used and how does its work? Please anyone explain these functions.

  3. bash - What does an "exec" command do? - Ask Ubuntu

    Sep 18, 2014 · I have seen exec command used inside scripts to redirect all output to a file (as seen in this). But in simple words, what does it do?

  4. What are the uses of the exec command in shell scripts?

    The exec built-in command mirrors functions in the kernel, there are a family of them based on execve, which is usually called from C. exec replaces the current program in the current …

  5. Difference between exec, execvp, execl, execv? - Stack Overflow

    Apr 18, 2019 · Possible duplicate of What are the different versions of exec used for in C and C++?, What is the difference between the functions of the exec family of system calls like exec …

  6. command line - What does 'exec' do? - Ask Ubuntu

    The exec you have executed is a shell built-in : $ type -a exec exec is a shell builtin Now from help exec : Replace the shell with the given command. Execute COMMAND, replacing this …

  7. What is the difference between the functions of the exec family of ...

    Dec 29, 2013 · exec () family of functions replaces existing process image with a new process image. This is a marked difference from fork () system call where the parent and child …

  8. shell - Understanding the -exec option of `find` - Unix & Linux …

    Sep 1, 2017 · Each -exec also acts like a "test" on the pathnames found by find, just like -type and -name does. If the command returns a zero exit status (signifying "success"), the next part of …

  9. What are the different versions of exec used for in C and C++?

    Apr 24, 2011 · The differences are combinations of: L vs V: whether you want to pass the parameters to the exec'ed program as L: individual parameters in the call (variable argument …

  10. What's the difference between eval, exec, and compile?

    Oct 12, 2018 · Both exec and eval accept 2 additional positional arguments - globals and locals - which are the global and local variable scopes that the code sees. These default to the …