About 2,370,000 results
Open links in new tab
  1. 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.

  2. 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?

  3. 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 and …

  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 process, without fork …

  5. What does set -e and exec "$@" do for docker entrypoint scripts?

    Jan 4, 2018 · At the exec line entrypoint.sh, the shell running as pid 1 will replace itself with the command server start. This is critical for signal handling. Without using exec, the server start in the …

  6. c - Differences between fork and exec - Stack Overflow

    Oct 31, 2009 · The use of fork and exec exemplifies the spirit of UNIX in that it provides a very simple way to start new tasks. Note the use of the word task here, I have deliberately avoided using the …

  7. understanding bash "exec 1>&2" command - Stack Overflow

    Oct 1, 2012 · function example() { exec 1>&2 cat <<EOT Script requires at least one parameter. EOT exit 1 } As I understand, exec 1>&2 means that everything from this point one will be directed to …

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

    Oct 12, 2018 · I've been looking at dynamic evaluation of Python code, and come across the eval() and compile() functions, and the exec statement. Can someone please explain the difference between …

  9. shell - PHP shell_exec () vs exec () - Stack Overflow

    shell_exec returns all of the output stream as a string. exec returns the last line of the output by default, but can provide all output as an array specifed as the second parameter.

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

    Apr 24, 2011 · These are all the versions of exec that can be used in C (and C++) execl execle execlp execv execve execvp What's the difference between them? How do you know which one to use?