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

  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. shell - Understanding the -exec option of `find` - Unix & Linux …

    Sep 1, 2017 · Using -exec in combination with sh -c The command that -exec can execute is limited to an external utility with optional arguments. To use shell built-ins, functions, …

  5. 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] - …

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

  7. Difference between "system" and "exec" in Linux? - Stack Overflow

    Nov 8, 2009 · What is the difference between system and exec family commands? Especially I want to know which one of them creates child process to work?

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

  9. How to assign an exec result to a sql variable? - Stack Overflow

    Feb 11, 2010 · How do you assign the result of an exec call to a variable in SQL? I have a stored proc called up_GetBusinessDay, which returns a single date. Can you do something like this: …

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

    Feb 21, 2018 · 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.