Re: Feature request: process title with exec -a "" for oneself

2024-09-04 Thread Emanuele Torre
I think your idea of using exec -a '' with no positional arguments to set it is pretty cool, since exec -a changes the argv[0] of the invoked process and exec with redirections an no arguments applies redirections to the current shell permanently! Not super relevant, but I have a bash loadable

Re: if source command.sh issue

2024-09-04 Thread Robert Elz
Date:Wed, 24 Jul 2024 13:22:07 + (UTC) From:morshalev@morsh.c.edafarm-workstations-prod.internal Message-ID: <20240904151336.D40A9142EBC@morsh.c.edafarm-workstations-prod.internal> There is no bug here. | if source command.sh ; then | command.sh contain 'set

Re: Feature request: process title with exec -a "" for oneself

2024-09-04 Thread Chet Ramey
On 8/31/24 10:43 PM, Lockywolf wrote: Dear Bash developers, May I ask for a small feature to be added to bash? At the moment exec changes IO redirections for the newly started processes, but if there is no command for exec'ing, it changes those redirections for the bash process itself. The exe

if source command.sh issue

2024-09-04 Thread morshalev
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'