Function: eshell-explicit-command

eshell-explicit-command is a byte-compiled function defined in esh-ext.el.gz.

Signature

(eshell-explicit-command COMMAND ARGS)

Documentation

If a command name begins with *, call it externally always.

This bypasses all Lisp functions and aliases.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-ext.el.gz
(defun eshell-explicit-command (command args)
  "If a command name begins with `*', call it externally always.
This bypasses all Lisp functions and aliases."
  (when (and (> (length command) 1)
	     (eq (aref command 0) eshell-explicit-command-char))
    (let ((cmd (eshell-search-path (substring command 1))))
      (if cmd
	  (or (eshell-external-command cmd args)
	      (error "%s: external command failed" cmd))
	(error "%s: external command not found"
	       (substring command 1))))))