[Nix-dev] A generic wrapper method (possibly)
Shea Levy
shea at shealevy.com
Thu Dec 5 15:34:53 CET 2013
FWIW, bash's 'exec' takes a flag (-a) to specify argv[0] as well.
On 12/02/2013 05:03 PM, Jason O'Conal wrote:
> Excerpts from David Guibert's message of 2013-12-02 13:23:49 +0000:
>> On Mon, Dec 2, 2013 at 11:17 AM, Sergey Mironov <grrwlf at gmail.com> wrote:
>>> Hi! Plus one from here. I also notice '.myapp-wrappers' while
>>> alt-tab-switching tasks and it is not good for the endusers.
>> argv0 [1] allows to run a program with a specified 0th argument.
>>
>> [1] http://cr.yp.to/ucspi-tcp/argv0.html
> +1 from me too. This problem has arisen with several ruby gems: rake and
> puppet. I am not sure why they care about their first argument, seems
> stupid to me, but they do.
>
> I can't seem to find the source of argv0.
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131205/6d27bb66/attachment.html
More information about the nix-dev
mailing list