GNU bug report logs -
#42704
Documentation of call-process
Previous Next
Reported by: Gregory Heytings <ghe <at> sdf.org>
Date: Tue, 4 Aug 2020 09:30:01 UTC
Severity: minor
Tags: fixed
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 42704 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 4 Aug 2020 11:29:26 +0200 (CEST)
> From: Gregory Heytings via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> The documentation of 'call-process' doe not make reference to the variable
> 'exec-path'. It should.
The ELisp manual says that, see the node "Subprocess Creation". This
isn't specific to call-process, that variable is used by all the
functions that create subprocesses.
> Using '(setenv "PATH" "...")' does not have the expected effect for
> 'call-process'. The environment variable "PATH" is correctly updated, the
> variable 'process-environment' is also updated, but what 'call-process'
> actually uses to locate the executable is the variable 'exec-path'.
The changes to the environment variables only affect the environment
passed to subprocesses, they don't affect the environment of the Emacs
process itself.
This bug report was last modified 4 years and 271 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.