From: Juanma Barranquero <lekktu@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 36270@debbugs.gnu.org
Subject: bug#36270: executable-find does not find shell commands on MSYS2
Date: Tue, 18 Jun 2019 02:57:59 +0200 [thread overview]
Message-ID: <CAAeL0SQcW8Wxb9wGjxV+xaHeZ6KtkfdCObRiyRtTNiUzHHgJow@mail.gmail.com> (raw)
In-Reply-To: <2lef3rrbaa.fsf@fencepost.gnu.org>
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.
next prev parent reply other threads:[~2019-06-18 0:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 23:42 bug#36270: executable-find does not find shell commands on MSYS2 Juanma Barranquero
2019-06-18 0:23 ` Glenn Morris
2019-06-18 0:57 ` Juanma Barranquero [this message]
2019-06-18 16:51 ` Eli Zaretskii
2019-06-18 20:49 ` Juanma Barranquero
2019-06-19 16:24 ` Eli Zaretskii
2019-06-19 17:38 ` Andy Moreton
2019-06-19 19:22 ` Juanma Barranquero
2019-06-19 19:20 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAeL0SQcW8Wxb9wGjxV+xaHeZ6KtkfdCObRiyRtTNiUzHHgJow@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=36270@debbugs.gnu.org \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).