Variable: eshell-force-execution

eshell-force-execution is a customizable variable defined in esh-ext.el.gz.

Value

nil

Documentation

If non-nil, try to execute files regardless of execute permissions.

This can be useful on systems like Windows, where the operating system doesn't support the execution bit for shell scripts; or in cases where you want to associate an interpreter with a particular kind of script file, but the language won't let you but a #! interpreter line in the file, and you don't want to make it executable since nothing else but Eshell will be able to understand eshell-interpreter-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-ext.el.gz
(defcustom eshell-force-execution
  (not (null (memq system-type '(windows-nt ms-dos))))
  "If non-nil, try to execute files regardless of execute permissions.
This can be useful on systems like Windows, where the operating system
doesn't support the execution bit for shell scripts; or in cases where
you want to associate an interpreter with a particular kind of script
file, but the language won't let you but a `#!' interpreter line in
the file, and you don't want to make it executable since nothing else
but Eshell will be able to understand
`eshell-interpreter-alist'."
  :type 'boolean
  :group 'eshell-ext)