[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 70964b9: Mention `exec-path' in some process related doc stri
Re: master 70964b9: Mention `exec-path' in some process related doc strings
Fri, 21 Aug 2020 17:22:27 +0000
Alpine 2.21 (NEB 202 2017-01-01)
firstname.lastname@example.org (Lars Ingebrigtsen) writes:
[doc of make-process]
:command COMMAND -- COMMAND is a list starting with the program file
-name, followed by strings to give to the program as arguments.
+name, followed by strings to give to the program as arguments. If the
+program file name is not an absolute file name, `make-process' will
+look for the program file name in `exec-path' (which is a list of
This is not true in the remote case (default-directory is remote, and
:file-handler is non-nil). The program is not looked for; everything in
the :command list is used literally.
I'm not sure I understand what you wrote correctly, but if indeed "the
program is not looked for", it seems to me that the program file name must
be an absolute path, in which case the sentence added by Lars is in fact
still true in that case. Or is something else than PATH and exec-path
used in that case (for example the shell's PATH environment variable on
the remote host)?