From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero 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 22:43:01 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000cd9170593df689b" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="237035"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37576@debbugs.gnu.org To: Richard Copley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 01 23:25: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 1iFPeN-000zRf-3p for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2019 23:25:39 +0200 Original-Received: from localhost ([::1]:48344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFPeL-0004Hh-Nx for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2019 17:25:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32998) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFP08-0003Ts-Du for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 16:44:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFP07-0004m7-AN for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 16:44:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFP07-0004m1-7T for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 16:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFP06-0003c8-4l for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 16:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Oct 2019 20:44:02 +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.156996262713862 (code B ref 37576); Tue, 01 Oct 2019 20:44:02 +0000 Original-Received: (at 37576) by debbugs.gnu.org; 1 Oct 2019 20:43:47 +0000 Original-Received: from localhost ([127.0.0.1]:34919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFOzo-0003bU-Rr for submit@debbugs.gnu.org; Tue, 01 Oct 2019 16:43:47 -0400 Original-Received: from mail-qk1-f174.google.com ([209.85.222.174]:33071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFOzm-0003bD-6W for 37576@debbugs.gnu.org; Tue, 01 Oct 2019 16:43:43 -0400 Original-Received: by mail-qk1-f174.google.com with SMTP id x134so12711289qkb.0 for <37576@debbugs.gnu.org>; Tue, 01 Oct 2019 13:43:42 -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=N5lxCzGBWrDM7+yIRkTUAYT0yaGx2g0H3UFgurHybdQ=; b=Q/H6UWk+/gidDI2v8zPCWsCIGivSV5z+VwVP5EdwyK6XtuNok38+E+80h7UQRsYHya evI7qCMr/SFcpL5L3lXL8GpKvZiVggiyFFbBpkn/PnC74AwK5LQwDT9C0RhP1OKWXQx4 T06JgkpfoJFzOT8JbMqmHlkYNWJnC5znKhsmEhGKOUn5NHupMwQ5nuR+bVB7CRa2srcS EOvyHDGsY4R96d81+HPYA9F9FsQlg+0zBBEJZpruYKKAhCc8KF4GLXArXhyhi9m2XT3U +zi1wJrZUng65kIrUhiq+1a/9z1mVOnt5YAjACeEBqeK/cSp/v4iMP1oVyEyrIjjAJR7 rvfw== 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=N5lxCzGBWrDM7+yIRkTUAYT0yaGx2g0H3UFgurHybdQ=; b=mm2rNOCYSUHK9tI9Q5srppnTmtRuktD0esTmk5xHPVEb9gkJHSof1MTg3hcNYJpVxt MLyZDmqjFhRacg7qe9ZxxRe/nNjF0ytwUsNnCQjmjNHMc2Yxb9DGObx1xdPDFgn/WepY PgsxPHRItDeXOEQ0TcEikoowe48s0VB9++6QE97zlVIw5zYnJmsSI+CZA9mT6wkyVe1G JUTS57IykHhgB1sn0z4Jf3H0MeYZZj5oLFX8R+A4eZChKrcdBDFISQYXA3m5Il3KTth/ fc3xpOlZgBppUh60r/P5k3xURLdyl/20vokNKFbMTmPNAUwVFrQNDPhuvIpkOCpUJP+D gH9g== X-Gm-Message-State: APjAAAWCMPnL5fPrKFmxb0y9/MZw2SYrlu/4XEMTL3KDsqHKuJdA1qcQ SAJ8OKhaaIpIFvto1OI55Z6iT//L/vvQh4frJCA= X-Google-Smtp-Source: APXvYqwQ+F1KTr94KM5xiTYKo2A7D1gO3s4GHCfp+WiHkLzvuG6pKzs4DQ1cHv3ntat4h/nYDHiaKdOr26PD8dRU8AU= X-Received: by 2002:a37:a411:: with SMTP id n17mr44569qke.216.1569962616214; Tue, 01 Oct 2019 13:43:36 -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:168090 Archived-At: --0000000000000cd9170593df689b Content-Type: text/plain; charset="UTF-8" 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 also noticed debug-on-error is now 't' in "emacs -Q". C:> emacs.exe -Q --batch --eval "(princ debug-on-error)" nil --0000000000000cd9170593df689b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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).

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

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

--0000000000000cd9170593df689b--