coreutils
[Top][All Lists]
Advanced

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

Re: env: follow up on argv0 setting feature


From: Pádraig Brady
Subject: Re: env: follow up on argv0 setting feature
Date: Wed, 20 Mar 2024 23:19:23 +0000
User-agent: Mozilla Thunderbird

On 13/03/2024 10:19, Matheus Afonso Martins Moreira wrote:
About a year ago, I posted an env feature request on this list:
the ability to set the value of argv[0].

https://lists.gnu.org/archive/html/coreutils/2023-03/msg00002.html

I also sent a patch:

https://lists.gnu.org/archive/html/coreutils/2023-03/msg00003.html

After some discussion, I was informed it was under consideration:

https://lists.gnu.org/archive/html/coreutils/2023-03/msg00012.html

We're still considering and will adjust as needed.

I waited a while and eventually sent an email about it:

https://lists.gnu.org/archive/html/coreutils/2023-08/msg00059.html

The maintainer noted that they expected this feature to be included
in the next release which would be focused on features:

https://lists.gnu.org/archive/html/coreutils/2023-08/msg00060.html

The next release will focus on new features, and this
will be considered. I expect this feature will be included.

Since then I've been tracking commits to the coreutils master branch
but it appears the feature has not landed yet.

What happened? Was it rejected?


Thanks for your patience.
I've attached an implementation for --argv0
which I intend to apply for the impending release.
Note this can accept empty and NULL values,
and so now gives env full control of the args it passes on.

thanks,
Pádraig.

Attachment: env--argv0.patch
Description: Text Data


reply via email to

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