bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assigning to BASHPID fails silently


From: Greg Wooledge
Subject: Re: Assigning to BASHPID fails silently
Date: Thu, 20 Oct 2016 08:22:34 -0400
User-agent: Mutt/1.4.2.3i

On Wed, Oct 19, 2016 at 11:53:37PM +0200, Martijn Dekker wrote:
> Assigning to BASHPID most certainly does have an effect. Since you
> didn't quote that part, I think you might have missed my point that
> attempting this will silently exit the shell without any error message,
> causing the problem to be hard to track down.

Cannot reproduce:

imadev:~$ bash
imadev:~$ echo $$
5659
imadev:~$ BASHPID=923
imadev:~$ echo $$
5659
imadev:~$ exit
imadev:~$ 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]