About 2,500,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. 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 …

  4. 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 …

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

  6. 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 …

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

    Oct 31, 2009 · exec is a bit easier to grasp, you just tell exec to execute a process using the target executable and you don't have two processes running the same code or inheriting the …

  8. EXEC sp_executesql with multiple parameters - Stack Overflow

    Feb 12, 2015 · How to pass the parameters to the EXEC sp_executesql statement correctly? This is what I have now, but i'm getting errors: alter PROCEDURE [dbo].[usp_getReceivedCases] - …

  9. Insert results of a stored procedure into a temporary table

    Mar 17, 2009 · That's because using EXEC to run the dynamic SQL creates its own session, so an ordinary temporary table would be out of scope to any subsequent code. If a global …

  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 …