Re: The exit code for the foreground command unexpectedly became 0.

Chet Ramey <[email protected]> Tue, 3 Mar 2026 11:25:58 -0500
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <[email protected]>
On 3/1/26 8:56 PM, 王伟 wrote:
> I've encountered a strange problem. On versions of bash4.4.18 and 4.4.23.
> Executing code similar to the following in an embedded environment may
> cause problems.

It would be great if you could provide a reproducible example, so we can
check whether or not there was a fix between bash-4.4 and bash-5.0.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/