We plan to compile and install the latest version of the bash interpreter directly into the system as a solution.
王伟 <[email protected]> 于2026年3月4日周三 10:11写道: > Sorry, I forgot to CC the mailing list in my previous reply. Re-sending > this to the list for the record. > > We later tried writing minimal reproducible code, but we couldn't > reproduce the problem. I'm wondering if this is an extreme edge case? Did > you change the job control system and the external command exit code > capture mechanism in versions 4.4.23 to 5.0.0? If these improvements > prevented the problem from recurring, then we decided to give up on further > troubleshooting. Do you think our approach is reasonable? > > Chet Ramey <[email protected]> 于2026年3月4日周三 00:26写道: > >> 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/ >> >>
