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 <[email protected]> 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
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to