[exim] Re: Pipe transport and script (shebang)

Top Page
Delete this message
Reply to this message
Author: Slavko
Date:  
To: exim-users
Subject: [exim] Re: Pipe transport and script (shebang)
Dňa 29. augusta 2023 16:34:24 UTC používateľ Jeremy Harris via Exim-users <exim-users@???> 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-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/