all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregory Heytings via "Emacs development discussions." <emacs-devel@gnu.org>
To: emacs-devel@gnu.org
Cc: Michael Albinus <michael.albinus@gmx.de>,
	Lars Ingebrigtsen <larsi@gnus.org>
Subject: Re: master 70964b9: Mention `exec-path' in some process related doc strings
Date: Fri, 21 Aug 2020 17:22:27 +0000	[thread overview]
Message-ID: <alpine.NEB.2.21.2008211917310394.2965@sdf.lonestar.org> (raw)
In-Reply-To: <878se8htwu.fsf@gmx.de>


> 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



  reply	other threads:[~2020-08-21 17:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200821141528.30109.99327@vcs0.savannah.gnu.org>
     [not found] ` <20200821141530.94B9D20A10@vcs0.savannah.gnu.org>
2020-08-21 15:59   ` master 70964b9: Mention `exec-path' in some process related doc strings Michael Albinus
2020-08-21 17:22     ` Gregory Heytings via Emacs development discussions. [this message]
2020-08-21 17:35       ` Michael Albinus
2020-08-21 19:04     ` Eli Zaretskii
2020-08-22 16:18       ` Michael Albinus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.NEB.2.21.2008211917310394.2965@sdf.lonestar.org \
    --to=emacs-devel@gnu.org \
    --cc=ghe@sdf.org \
    --cc=larsi@gnus.org \
    --cc=michael.albinus@gmx.de \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.