Dňa 29. augusta 2023 16:34:24 UTC používateľ Jeremy Harris via Exim-users 
<exim-users@lists.exim.org> napísal:

>Does your shell auto-export a set variable to the environment?
>Or does it stay as an internal variable, leaving the PATH
>in the environment unchanged?

I don't know how bash deals with autoexport, but i find diference:

+ when i unset PATH variable, the env can find python (and others)
+ when i set PATH to empty (or other) value, the env fails

Thus i guess, that while result is the same (no value) the env uses
some default path(s) in case when PATH is not set. I guess about
env's default, as bash itself complains about command(s) in both
cases.

Thanks to both, you are pointing me to find/understand the
reason ;-)

regards


-- 
Slavko
https://www.slavino.sk/

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to