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

Góra strony
Delete this message
Reply to this message
Autor: Slavko
Data:  
Dla: exim ML
Temat: [exim] Re: Pipe transport and script (shebang)
Dňa 28. augusta 2023 12:01:49 UTC používateľ Andrew C Aitchison <andrew@???> napísal:

>> I guess that and your first change meant that /usr/bin/env could no longer find pthyon3.
>
>Sorry,  I meant to add
>        because env uses path.


Yes, that was my first idea too, but as i wrote, already, i set PATH
manually in shell, then i run:

    /usr/bin/env python3

And python was run... I tried to verify that this PATH is used too:

    /usr/bin/env -S /bin/echo $PATH

which returns empty line (after unset).

Thus IMO the PATH itself is not an issue, but i know near nothing
how exim run that command, except that it doesn't use shell.

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/