builtin_fn_cmd_unix.d.elv 341 B

123456789101112
  1. #elvdoc:fn exec
  2. #
  3. # ```elvish
  4. # exec $command? $args...
  5. # ```
  6. #
  7. # Replace the Elvish process with an external `$command`, defaulting to
  8. # `elvish`, passing the given arguments. This decrements `$E:SHLVL` before
  9. # starting the new process.
  10. #
  11. # This command always raises an exception on Windows with the message "not
  12. # supported on Windows".