bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#29122: eshell passes ARGV[0] as full path to executable


From: Noam Postavsky
Subject: bug#29122: eshell passes ARGV[0] as full path to executable
Date: Fri, 03 Nov 2017 04:30:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

severity 29122 wishlist
quit

Yegor Timoshenko <yegortimoshenko@gmail.com> writes:

> $ ./a.out
> /home/chronos/a.out
>
> This prints full path to the executable instead of passing the actual
> ARGV[0].

Hmm, I don't think that's really a bug though.

> In other shells, say bash, ./a.out will result in `./a.out`
> being printed to stdout.

eshell is not a bash emulation.

> This is a recent build from master. This bug is also reproducible on
> latest stable release, 25.3.

At any rate, to change this would require adding some option to
make-process, as presently Emacs provides no way of calling a process
with argv[0] different from the called executable.





reply via email to

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