Subject: bug#36270: executable-find does not find shell commands on MSYS2

From: Juanma Barranquero <[email-masked]>
Date: Tue, 18 Jun 2019 02:57:59 +0200

merge 7784 36270
quit

 I hadn't found that one. Thanks.

And yes, it's obviously mostly the same issue. Merged.

Still, there's nothing magic about call-process. Is the native way,
but not the only way to execute programs on Emacs. Why should
file-executable-p and executable-find privilege native vs shell
commands, in contexts where you can run the shell command easily?

(let ((shell-file-name "bash"))
  (shell-command "ci --version"))

=> 0

As I said above, there's tension between two meanings of "executable"
here. Both are meaningful.