|
From: | Gregory Heytings |
Subject: | Re: master 70964b9: Mention `exec-path' in some process related doc strings |
Date: | Fri, 21 Aug 2020 17:22:27 +0000 |
User-agent: | Alpine 2.21 (NEB 202 2017-01-01) |
larsi@gnus.org (Lars Ingebrigtsen) writes: Hi Lars, [doc of make-process]--- a/src/process.c +++ b/src/process.c :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 +directories).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)?
Gregory
[Prev in Thread] | Current Thread | [Next in Thread] |