GNU bug report logs - #67717
29.1; Eshell doesn't handle script with "#!/usr/bin/env python3 -ESs"

Previous Next

Package: emacs;

Reported by: Sean Devlin <spd <at> toadstyle.org>

Date: Fri, 8 Dec 2023 21:36:01 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #18 received at 67717-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Sean Devlin <spd <at> toadstyle.org>, Jim Porter <jporterbugs <at> gmail.com>
Cc: 67717-done <at> debbugs.gnu.org
Subject: Re: bug#67717: 29.1; Eshell doesn't handle script with
 "#!/usr/bin/env python3 -ESs"
Date: Thu, 14 Dec 2023 17:01:49 -0800
Sean Devlin <spd <at> toadstyle.org> writes:

>> This is the correct behavior. The shebang syntax takes at most 2 values: the interpreter, and a single optional argument. Therefore, it's correct to interpret "python3 -ESs" as one argument. However, you can fix this with the "-S" option to env, e.g. "#!/usr/bin/env -S python3 -ESs". (I've confirmed locally that this works properly in Eshell.)

I'm therefore closing this bug report.




This bug report was last modified 1 year and 237 days ago.

Previous Next


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