unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
@ 2019-10-01 19:43 Richard Copley
  2019-10-01 20:43 ` Juanma Barranquero
  2019-10-02  9:21 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 18+ messages in thread
From: Richard Copley @ 2019-10-01 19:43 UTC (permalink / raw)
  To: 37576

[-- Attachment #1: Type: text/plain, Size: 3477 bytes --]

In "emacs -Q", if the file "xyzzy" does not exist on the path,
(call-process "xyzzy") now leaves this in the *Messages* buffer:

  forward-sexp: Searching for program: Permission denied, xyzzy

In older versions the entry in the message buffer is a true statement:

  eval: Searching for program: No such file or directory, xyzzy

(I also noticed debug-on-error is now 't' in "emacs -Q". This isn't in the
NEWS, unless I missed it?)

In GNU Emacs 27.0.50 (build 13, x86_64-w64-mingw32)
 of 2019-10-01 built on MACHINE
Repository revision: cbc507779b8f56ce0abf596416e8e3847de88e10
Repository branch: buster
Windowing system distributor 'Microsoft Corp.', version 10.0.18890
System Description: Microsoft Windows 10 Pro (v10.0.1903.18890.1000)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Entering debugger...
Continuing.
forward-sexp: Searching for program: Permission denied, xyzzy
Configured using:
 'configure --config-cache --with-modules --without-pop --without-dbus
 --without-gconf --without-gsettings 'CFLAGS=-O0 -ggdb3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq
byte-opt gv bytecomp byte-compile compile comint ansi-color ring cconv
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils help-fns radix-tree cl-print debug backtrace help-mode
easymenu find-func cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table
term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads w32notify w32 lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 56362 12184)
 (symbols 48 6971 1)
 (strings 32 19777 2016)
 (string-bytes 1 617340)
 (vectors 16 11386)
 (vector-slots 8 141766 11600)
 (floats 8 25 161)
 (intervals 56 229 7)
 (buffers 992 12))

[-- Attachment #2: Type: text/html, Size: 3916 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 19:43 bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found Richard Copley
@ 2019-10-01 20:43 ` Juanma Barranquero
  2019-10-01 22:05   ` Richard Copley
  2019-10-02  9:21 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2019-10-01 20:43 UTC (permalink / raw)
  To: Richard Copley; +Cc: 37576

[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]

On Tue, Oct 1, 2019 at 9:56 PM Richard Copley <rcopley@gmail.com> wrote:

> In "emacs -Q", if the file "xyzzy" does not exist on the path,
(call-process "xyzzy") now leaves this in the *Messages* buffer:
>
>   forward-sexp: Searching for program: Permission denied, xyzzy
>
> In older versions the entry in the message buffer is a true statement:
>
>   eval: Searching for program: No such file or directory, xyzzy

In the current trunk, I get "No such file on directory".

ELISP> (call-process "xyzzy")
*** Eval error ***  Searching for program: No such file or directory, xyzzy

> Repository revision: cbc507779b8f56ce0abf596416e8e3847de88e10
> Repository branch: buster

After Paul changes adding more strict file checking, there were some fixes
to ease up. Perhaps you got a revision in between. I cannot say, because
the repository revision of your report is likely some local change by you
(it's not in the public repository).

>  (I also noticed debug-on-error is now 't' in "emacs -Q".

C:> emacs.exe -Q --batch --eval "(princ debug-on-error)"
nil

[-- Attachment #2: Type: text/html, Size: 1447 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 20:43 ` Juanma Barranquero
@ 2019-10-01 22:05   ` Richard Copley
  2019-10-01 22:16     ` Juanma Barranquero
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Copley @ 2019-10-01 22:05 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 37576

[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]

On Tue, 1 Oct 2019 at 21:43, Juanma Barranquero <lekktu@gmail.com> wrote:

> On Tue, Oct 1, 2019 at 9:56 PM Richard Copley <rcopley@gmail.com> wrote:
>
> > In "emacs -Q", if the file "xyzzy" does not exist on the path,
> (call-process "xyzzy") now leaves this in the *Messages* buffer:
> >
> >   forward-sexp: Searching for program: Permission denied, xyzzy
> >
> > In older versions the entry in the message buffer is a true statement:
> >
> >   eval: Searching for program: No such file or directory, xyzzy
>
> In the current trunk, I get "No such file on directory".
>
> ELISP> (call-process "xyzzy")
> *** Eval error ***  Searching for program: No such file or directory, xyzzy
>
> > Repository revision: cbc507779b8f56ce0abf596416e8e3847de88e10
> > Repository branch: buster
>
> After Paul changes adding more strict file checking, there were some fixes
> to ease up. Perhaps you got a revision in between. I cannot say, because
> the repository revision of your report is likely some local change by you
> (it's not in the public repository).
>

I get the same results in "emacs -Q" rebuilt from scratch from current
pristine master, 2698d3dba2 (2019-10-01 23:15:03 2019 +0300). After
building and running using this command...:

  git reset --hard 2698d3db && git clean -xfd && ./autogen.sh &&
./configure && make && src/emacs.exe -Q

...the recipe below pops up the Lisp debugger.

M-: (call-process SPC "xyzzy") RET
c ;; debugger-continue

On continuing in the debugger, it prints "forward-sexp: Searching for
program: Permission denied, xyzzy" in the *Messages* buffer.

[-- Attachment #2: Type: text/html, Size: 2378 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 22:05   ` Richard Copley
@ 2019-10-01 22:16     ` Juanma Barranquero
  2019-10-01 22:28       ` Richard Copley
  0 siblings, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2019-10-01 22:16 UTC (permalink / raw)
  To: Richard Copley; +Cc: 37576

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

On Wed, Oct 2, 2019 at 12:06 AM Richard Copley <rcopley@gmail.com> wrote:

> On continuing in the debugger, it prints "forward-sexp: Searching for
program: Permission denied, xyzzy" in the *Messages* buffer.

With that very same revision, just bootstrapped a few minutes ago, and with
your recipe, I get

forward-sexp: Searching for program: No such file or directory, xyzzy

This is on Windows 10, with a MSYS2 64-bit build.

[-- Attachment #2: Type: text/html, Size: 607 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 22:16     ` Juanma Barranquero
@ 2019-10-01 22:28       ` Richard Copley
  2019-10-01 22:33         ` Juanma Barranquero
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Copley @ 2019-10-01 22:28 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 37576

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

On Tue, 1 Oct 2019 at 23:17, Juanma Barranquero <lekktu@gmail.com> wrote:

>
>
> On Wed, Oct 2, 2019 at 12:06 AM Richard Copley <rcopley@gmail.com> wrote:
>
> > On continuing in the debugger, it prints "forward-sexp: Searching for
> program: Permission denied, xyzzy" in the *Messages* buffer.
>
> With that very same revision, just bootstrapped a few minutes ago, and
> with your recipe, I get
>
> forward-sexp: Searching for program: No such file or directory, xyzzy
>
> This is on Windows 10, with a MSYS2 64-bit build.
>

Same here. No big deal, I guess I'll get used to it.

[-- Attachment #2: Type: text/html, Size: 1065 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 22:28       ` Richard Copley
@ 2019-10-01 22:33         ` Juanma Barranquero
  2019-10-01 22:40           ` Richard Copley
  0 siblings, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2019-10-01 22:33 UTC (permalink / raw)
  To: Richard Copley; +Cc: 37576

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

Assuming that with "Same here" you're talking about the building
environment and operating system (because obviously the messages are
dissimilar)... That's puzzling.

[-- Attachment #2: Type: text/html, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 22:33         ` Juanma Barranquero
@ 2019-10-01 22:40           ` Richard Copley
  2019-10-01 23:55             ` Juanma Barranquero
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Copley @ 2019-10-01 22:40 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 37576

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

On Tue, 1 Oct 2019 at 23:33, Juanma Barranquero <lekktu@gmail.com> wrote:

> Assuming that with "Same here" you're talking about the building
> environment and operating system (because obviously the messages are
> dissimilar)... That's puzzling.
>

Yes.

[-- Attachment #2: Type: text/html, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 22:40           ` Richard Copley
@ 2019-10-01 23:55             ` Juanma Barranquero
  2019-10-02 10:07               ` Andreas Schwab
  0 siblings, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2019-10-01 23:55 UTC (permalink / raw)
  To: Richard Copley; +Cc: 37576

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

On Wed, Oct 2, 2019 at 12:40 AM Richard Copley <rcopley@gmail.com> wrote:

>That's puzzling.

Ok.

I get your message if I add to PATH a non-existent (or, I suppose,
non-accesible) directory.

So, if you have such a directory in your PATH, the message you get is
correct, because it happens before call-process can totally determine that
it can not find "xyzzy".

[-- Attachment #2: Type: text/html, Size: 536 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 19:43 bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found Richard Copley
  2019-10-01 20:43 ` Juanma Barranquero
@ 2019-10-02  9:21 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 18+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-02  9:21 UTC (permalink / raw)
  To: Richard Copley; +Cc: 37576

Richard Copley <rcopley@gmail.com> writes:

> (I also noticed debug-on-error is now 't' in "emacs -Q". This isn't in
> the NEWS, unless I missed it?)

That variable it not `t', but there's a new variable called
`eval-expression-debug-on-error' that's in effect when you `M-:', and
`debug-on-error' is bound to whatever that variable is in that command.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-01 23:55             ` Juanma Barranquero
@ 2019-10-02 10:07               ` Andreas Schwab
  2019-10-02 10:18                 ` Juanma Barranquero
  0 siblings, 1 reply; 18+ messages in thread
From: Andreas Schwab @ 2019-10-02 10:07 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Richard Copley, 37576

On Okt 02 2019, Juanma Barranquero <lekktu@gmail.com> wrote:

> So, if you have such a directory in your PATH, the message you get is
> correct, because it happens before call-process can totally determine that
> it can not find "xyzzy".

No, non-existing PATH elements are supposed to be ignored.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 10:07               ` Andreas Schwab
@ 2019-10-02 10:18                 ` Juanma Barranquero
  2019-10-02 11:02                   ` Andreas Schwab
  0 siblings, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2019-10-02 10:18 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Richard Copley, 37576

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

On Wed, Oct 2, 2019 at 12:07 PM Andreas Schwab <schwab@linux-m68k.org>
wrote:

> No, non-existing PATH elements are supposed to be ignored.

Ok, let me rephrase this.

Non-existent PATH element are ignored when searching, if the program is
found.

When the search fails, Emacs is now reporting "permission denied" if some
PATH element was non-existent, or "no such file or directory" otherwise. At
least on Windows.

[-- Attachment #2: Type: text/html, Size: 624 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 10:18                 ` Juanma Barranquero
@ 2019-10-02 11:02                   ` Andreas Schwab
  2019-10-02 11:47                     ` Juanma Barranquero
  2019-10-02 16:48                     ` Eli Zaretskii
  0 siblings, 2 replies; 18+ messages in thread
From: Andreas Schwab @ 2019-10-02 11:02 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Richard Copley, 37576

On Okt 02 2019, Juanma Barranquero <lekktu@gmail.com> wrote:

> When the search fails, Emacs is now reporting "permission denied" if some
> PATH element was non-existent, or "no such file or directory" otherwise. At
> least on Windows.

And that is a bug.  A PATH element pointing to a non-existing directory
should be ignored.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 11:02                   ` Andreas Schwab
@ 2019-10-02 11:47                     ` Juanma Barranquero
  2019-10-02 12:58                       ` Andreas Schwab
  2019-10-02 16:48                     ` Eli Zaretskii
  1 sibling, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2019-10-02 11:47 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Richard Copley, 37576

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

On Wed, Oct 2, 2019 at 1:02 PM Andreas Schwab <schwab@linux-m68k.org> wrote:

> And that is a bug.  A PATH element pointing to a non-existing directory
> should be ignored.

Just out of curiosity... Says who? I mean, there's a standard (POSIX or
whatever) that says what kind of error message you should give when
searching the PATH and not finding what you were looking for? Or it just
states that non-existing elements should be ignored, in the sense of not
stopping the search?

Not arguing, genuinely curious.

[-- Attachment #2: Type: text/html, Size: 641 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 11:47                     ` Juanma Barranquero
@ 2019-10-02 12:58                       ` Andreas Schwab
  2019-10-02 13:17                         ` Juanma Barranquero
  0 siblings, 1 reply; 18+ messages in thread
From: Andreas Schwab @ 2019-10-02 12:58 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Richard Copley, 37576

On Okt 02 2019, Juanma Barranquero <lekktu@gmail.com> wrote:

> On Wed, Oct 2, 2019 at 1:02 PM Andreas Schwab <schwab@linux-m68k.org> wrote:
>
>> And that is a bug.  A PATH element pointing to a non-existing directory
>> should be ignored.
>
> Just out of curiosity... Says who?

That's how the shell behaves.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 12:58                       ` Andreas Schwab
@ 2019-10-02 13:17                         ` Juanma Barranquero
  0 siblings, 0 replies; 18+ messages in thread
From: Juanma Barranquero @ 2019-10-02 13:17 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Richard Copley, 37576

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

> That's how the shell behaves.

Ok.

In this specific case, which is trying to run a program and failing from
inside Emacs, I think it could be argued both ways: that it is more
informative to know there's something a bit off in your PATH, or that it is
irrelevant, because the relevant info is that the program couldn't be run.

I suppose the answer to "one way or the other" is "Yes, as long as it is
consistently done in all platforms."

[-- Attachment #2: Type: text/html, Size: 560 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 11:02                   ` Andreas Schwab
  2019-10-02 11:47                     ` Juanma Barranquero
@ 2019-10-02 16:48                     ` Eli Zaretskii
  2019-10-02 17:09                       ` Richard Copley
  1 sibling, 1 reply; 18+ messages in thread
From: Eli Zaretskii @ 2019-10-02 16:48 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: rcopley, lekktu, 37576

> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Wed, 02 Oct 2019 13:02:43 +0200
> Cc: Richard Copley <rcopley@gmail.com>, 37576@debbugs.gnu.org
> 
> On Okt 02 2019, Juanma Barranquero <lekktu@gmail.com> wrote:
> 
> > When the search fails, Emacs is now reporting "permission denied" if some
> > PATH element was non-existent, or "no such file or directory" otherwise. At
> > least on Windows.
> 
> And that is a bug.  A PATH element pointing to a non-existing directory
> should be ignored.

I don't know what "ignore" means in this case, since call-process
should signal an error if it's unable to find the program.  If you
mean that nonexistent directories should be treated as if they
existed, but didn't have the program in them, then I agree, and I've
now fixed the Windows build's behavior to match that of the Posix
builds in this case.

I still didn't hear from Richard confirming that his case is indeed
caused by a non-existent directory on PATH.  Maybe there are other
factors at work here.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 16:48                     ` Eli Zaretskii
@ 2019-10-02 17:09                       ` Richard Copley
  2019-10-02 17:19                         ` Eli Zaretskii
  0 siblings, 1 reply; 18+ messages in thread
From: Richard Copley @ 2019-10-02 17:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Juanma Barranquero, Andreas Schwab, 37576

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

On Wed, 2 Oct 2019 at 17:48, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Andreas Schwab <schwab@linux-m68k.org>
> > Date: Wed, 02 Oct 2019 13:02:43 +0200
> > Cc: Richard Copley <rcopley@gmail.com>, 37576@debbugs.gnu.org
> >
> > On Okt 02 2019, Juanma Barranquero <lekktu@gmail.com> wrote:
> >
> > > When the search fails, Emacs is now reporting "permission denied" if
> some
> > > PATH element was non-existent, or "no such file or directory"
> otherwise. At
> > > least on Windows.
> >
> > And that is a bug.  A PATH element pointing to a non-existing directory
> > should be ignored.
>
> I don't know what "ignore" means in this case, since call-process
> should signal an error if it's unable to find the program.  If you
> mean that nonexistent directories should be treated as if they
> existed, but didn't have the program in them, then I agree, and I've
> now fixed the Windows build's behavior to match that of the Posix
> builds in this case.
>

I agree with that too, FWIW. Thanks.


> I still didn't hear from Richard confirming that his case is indeed
> caused by a non-existent directory on PATH.


Yes it is. (At least, there *are* non-existent directories in PATH, and I
get the correct message now.)

Maybe there are other
> factors at work here.
>

[-- Attachment #2: Type: text/html, Size: 2350 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found
  2019-10-02 17:09                       ` Richard Copley
@ 2019-10-02 17:19                         ` Eli Zaretskii
  0 siblings, 0 replies; 18+ messages in thread
From: Eli Zaretskii @ 2019-10-02 17:19 UTC (permalink / raw)
  To: Richard Copley; +Cc: lekktu, schwab, 37576-done

> From: Richard Copley <rcopley@gmail.com>
> Date: Wed, 2 Oct 2019 18:09:14 +0100
> Cc: Andreas Schwab <schwab@linux-m68k.org>, Juanma Barranquero <lekktu@gmail.com>, 37576@debbugs.gnu.org
> 
>  I don't know what "ignore" means in this case, since call-process
>  should signal an error if it's unable to find the program.  If you
>  mean that nonexistent directories should be treated as if they
>  existed, but didn't have the program in them, then I agree, and I've
>  now fixed the Windows build's behavior to match that of the Posix
>  builds in this case.
> 
> I agree with that too, FWIW. Thanks.
>  
>  I still didn't hear from Richard confirming that his case is indeed
>  caused by a non-existent directory on PATH.
> 
> Yes it is. (At least, there are non-existent directories in PATH, and I get the correct message now.)

Thanks, then it's time to close this bug.





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-10-02 17:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 19:43 bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found Richard Copley
2019-10-01 20:43 ` Juanma Barranquero
2019-10-01 22:05   ` Richard Copley
2019-10-01 22:16     ` Juanma Barranquero
2019-10-01 22:28       ` Richard Copley
2019-10-01 22:33         ` Juanma Barranquero
2019-10-01 22:40           ` Richard Copley
2019-10-01 23:55             ` Juanma Barranquero
2019-10-02 10:07               ` Andreas Schwab
2019-10-02 10:18                 ` Juanma Barranquero
2019-10-02 11:02                   ` Andreas Schwab
2019-10-02 11:47                     ` Juanma Barranquero
2019-10-02 12:58                       ` Andreas Schwab
2019-10-02 13:17                         ` Juanma Barranquero
2019-10-02 16:48                     ` Eli Zaretskii
2019-10-02 17:09                       ` Richard Copley
2019-10-02 17:19                         ` Eli Zaretskii
2019-10-02  9:21 ` Lars Ingebrigtsen

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).