On May 21, 2023, at 20:57, Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx> wrote:
I tried to give a simple response in my answer, but it’s actually glibc (on Linux) that handles the exec* functions (called by the shell, of course), and it passes it on to /bin/sh and *not* the users shell. Which uses _PATH_BSHELL in paths.h (https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/paths.h;h=1342ab3a96ab12065311b718e57e7235e07587f8;hb=HEAD) The fact that different terminals behave differently make me wonder if it’s something to do with terminal I/O or something else weird. Anyway, use a shebang. -- Jonathan Billings |
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue