[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67717: 29.1; Eshell doesn't handle script with "#!/usr/bin/env pytho
From: |
Stefan Kangas |
Subject: |
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@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.