GNU bug report logs - #33016
26.1; (make-process ...) doesn't signal an error, when executable given as absolute Windows path does not exist

Previous Next

Package: emacs;

Reported by: Klaus-Dieter Bauer <bauer.klaus.dieter <at> gmail.com>

Date: Thu, 11 Oct 2018 12:57:01 UTC

Severity: minor

Tags: fixed

Found in version 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 33016 <at> debbugs.gnu.org, bauer.klaus.dieter <at> gmail.com
Subject: bug#33016: 26.1; (make-process ...) doesn't signal an error, when executable given as absolute Windows path does not exist
Date: Tue, 09 Apr 2019 17:33:18 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Tue, 9 Apr 2019 10:13:58 -0400
> Cc: Klaus-Dieter Bauer <bauer.klaus.dieter <at> gmail.com>, 33016 <at> debbugs.gnu.org
> 
> By the way, I modified the error message in call_process in addition
> to create_process for completeness, but I can't see a way to trigger
> this for call_process: it searches for PROGRAM and signals an error
> early, regardless of whether the filename is absolute or not.

One way is to delete the program between the time Emacs searches for
it and the time it actually invokes it.  Another way is to make the
program be a file whose name includes non-ASCII characters outside of
the current system codepage (I'm assuming the search for the program
uses file-oriented primitives which support any Unicode characters).

Having said that, this isn't worth too much of your time, if those
ideas cannot be easily implemented, or turn out wrong, and no others
present themselves.

Thanks.




This bug report was last modified 6 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.