Re: multi-threaded compiling
Mischa Baars <[email protected]> Wed, 13 Mar 2024 08:29:23 +0100
| Newsgroups | gmane.comp.shells.bash.bugs,gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <CA+b5WFFumKXB_GDTp7+Z-nM0agY0Ga=EeERw=xNkW=c7+dYq2A@mail.gmail.com> |
On Wed, Mar 13, 2024 at 4:14 AM Martin D Kealey <[email protected]> wrote: > > On Mon, Mar 11, 2024 at 8:20 PM Chet Ramey <[email protected]> wrote: >> > On 3/11/24 2:50 PM, Mischa Baars wrote: >> > > Which sort of brings us back to the original question I suppose. Who >> does >> > > that line of code function from a script and why does it fail from the >> > > command line? >> > >> > Job control and when the shell notifies the user about job completion, >> > most likely, two of the relevant things that differ between interactive >> > and non-interactive shells. >> > > In this case, no. > > I inserted « echo $- ; shopt -p ; shopt -po ; » in front of each case, and > the ONLY difference was that « echo $- » reported “hxBc” vs “hxB”. Not an > “m” in sight. And no “i” or “l” either. (The “c” was expected, given how « > make » invokes the shell.) > > -Martin > 👍