The problem here is tat if I add the directory /abs/path/to/hello/bin as the first element of PATH (using getenv/setenv), eshell modifies correctly the variable but doesn't prefer the commands defined in hello/bin, for example:
eshell> which python /usr/bin/python eshell> # path modification eshell> echo $PATH # or getenv PATH /abs/path/to/hello/bin:/bin:/usr/bin:... eshell> which python /usr/bin/python
If i launch the command in another way, using for example shell-command..
M-! which python /abs/path/to/hello/bin/python
So it works in the correct way.
How to make eshell behaving the same way, are there any workaround I can do?