bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Juanma Barranquero
Subject: bug#36270: executable-find does not find shell commands on MSYS2
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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]