bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Misleading error when attempting to run foreign executable


From: Dmitry Goncharov
Subject: Re: Misleading error when attempting to run foreign executable
Date: Sun, 10 Oct 2021 22:58:14 -0400

On Sun, Oct 10, 2021 at 9:11 PM Eli Schwartz <eschwartz@archlinux.org> wrote:
> So I wonder, if bash already in this exact case attempts to open() the
> file and read() it to look for a shebang, what's the harm in assuming
> (or checking) that it exists in this patch?

i guess, you are right.
i, on the other hand wonder, if exec could return ELIBBAD.

regards, Dmitry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]