From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#37576: 27.0.50; [Windows] "Permission denied" error from call-process if executable not found Date: Tue, 1 Oct 2019 23:05:34 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bed14a0593e08eb7" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="19873"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37576@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 02 00:43:42 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFQrt-00051F-2C for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Oct 2019 00:43:41 +0200 Original-Received: from localhost ([::1]:49088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFQrr-0000fV-TS for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2019 18:43:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60057) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFQIR-0006WF-RW for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 18:07:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFQIQ-0001xv-BQ for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 18:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFQIQ-0001xe-5v for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 18:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFQIP-000850-UI for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 18:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Oct 2019 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37576 X-GNU-PR-Package: emacs Original-Received: via spool by 37576-submit@debbugs.gnu.org id=B37576.156996756930983 (code B ref 37576); Tue, 01 Oct 2019 22:07:01 +0000 Original-Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 22:06:09 +0000 Original-Received: from localhost ([127.0.0.1]:35138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQHZ-00083f-78 for submit@debbugs.gnu.org; Tue, 01 Oct 2019 18:06:09 -0400 Original-Received: from mail-oi1-f181.google.com ([209.85.167.181]:38824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFQHW-000837-4r for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 18:06:08 -0400 Original-Received: by mail-oi1-f181.google.com with SMTP id m16so15909358oic.5 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 15:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yEEYxuLKL4626PLcu+iTuba6TxDNrCCC9tS2595Z6B8=; b=Aune3xjPxLpP9oD43sCZv8zYawIviv89Yy8N3Liwn7prCNUBB+3uxF9bhxReJIoq5P xoMXyk1Vil+OTLrBg0vRlZoYmgsx9lMI9rFCm41gnf2LlsVP8SrCfm0+xWjkKuJDKjiz aQw1xOtLSv764QZT23fQdDjE6J+3R6KQtGKJOEZ9NATOXehrkkqZ7qKtfiRiBhr+nAUn yzRmxXnIFP3Pg4Xr5RMFxtiKOBBE/i3vWVTvRwJqQ4LlgHJEGqEpScFruA8zhyIiRxlj ePkrFJ9ZsDJMb3fSKjMiy1JzVt9Isfa3t4KGAS7PwrrVSaYP2XbjH8yZ68xARgBbMwm+ XI/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yEEYxuLKL4626PLcu+iTuba6TxDNrCCC9tS2595Z6B8=; b=pIQhCSOMuu6/0p7gL1lV5AFQx1jD/eGCMAj8Q8i4fETMGF+jsZrWITLyQqrNrZN4G0 INHbG3d2qZqSp4KN2IVdUKguRYLp+elIlCz8pmMNF12zihzeSoV5cQfbkqZvQ9V46k+V Hcyuqq9Q2/Y1FE5Gqg8feq2x02IAeVzB7qQ57UbPVy1aVj+lK7LWT1fefzb5gCbGzNJb 68+PKvuOWfY8z0B2i82Xkb5b5ijQ5WcZV+2bsGT+xJ03Kj6lin481n5JOWC1B6j7M1no saLhG1nPMKQIqB4afFaFxXs8b4wuhM3IF76hLajqlJq8E2N1kZB3HsqPNYphbYFxQhBf 2gxA== X-Gm-Message-State: APjAAAV2fOnjklHzogfXAQ3aQx2xifFPjHUgeIyRWXixtf4WA6oUi6tE qQoFuczEIYfNj471KU0nCZvdgMMaso9Ynwdsts4= X-Google-Smtp-Source: APXvYqyCaVOXlqZg2qoThrgud7aTQmZSNekSreRp/CxBf2bBKmBmV3L8j8y2rIpT0+eTK0eUh0/TRItZKxl/YOAnlAQ= X-Received: by 2002:aca:5bd4:: with SMTP id p203mr161214oib.153.1569967560379; Tue, 01 Oct 2019 15:06:00 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168100 Archived-At: --000000000000bed14a0593e08eb7 Content-Type: text/plain; charset="UTF-8" On Tue, 1 Oct 2019 at 21:43, Juanma Barranquero wrote: > On Tue, Oct 1, 2019 at 9:56 PM Richard Copley 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. --000000000000bed14a0593e08eb7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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 *Messa= ges* buffer:
>
> =C2=A0 forward-sexp: Searching for program: Pe= rmission denied, xyzzy
>
> In older versions the entry in the m= essage buffer is a true statement:
>
> =C2=A0 eval: Searching f= or program: No such file or directory, xyzzy

In the curre= nt trunk, I get "No such file on directory".

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

> Repository revision: cbc507779b8f56ce0abf596416e8e38= 47de88e10
> Repository branch: buster

Af= ter 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&#= 39;s not in the public repository).

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

=C2=A0 git reset --hard 2698d3db = && git clean -xfd && ./autogen.sh && ./configure &a= mp;& make && src/emacs.exe -Q

...t= he recipe below pops up the Lisp debugger.

M-: (call-pr= ocess SPC "xyzzy") RET
c ;; debugger-continue<= /div>

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

--000000000000bed14a0593e08eb7--