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

Re: gbs3 not exiting


On Fri, 13 Nov 2026 at 14:32, Benoît Minisini <
benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 13/11/2026 à 15:26, Bruce Steers a écrit :
> > Hmm, this is new.
> > With latest master commit i run this in a terminal...
> >
> > echo -e 'use "gb.highlight"\n for each sState as string in
> > TextHighlighter.List\nPrint TextHighlighter[sState].States.Join(";
> > ")\nNext'| gbs3 -
> >
> > It prints the results but does not exit. i press Ctrl-C or add Quit the
> > th script to make it return to the terminal prompt line
> >
> > Respects
> > BruceS
>
> I guess it waits for the JIT compiler to finish compiling the
> highlighters...
>
> --
> Benoît Minisini.


aah I see, yes.
Running it it took ages and because i used Ctrl-C (thinking it hung) it
never completed the compile.

I waited for a while and it did eventually quit by itself.
Now it works okay.

i deleted the contents of JIT cache to re-test it.

date; echo -e 'use "gb.highlight"\n for each sState as string in
TextHighlighter.List\nPrint TextHighlighter[sState].States.Join(";
")\nNext\n' | gbs3 -; date

Fri 13 Nov 14:53:58 GMT 2026
<snip>
Fri 13 Nov 14:54:43 GMT 2026

So it took 46 seconds

Can it exit when the command is complete as the actual text prints out
quite quickly, it just then hangs doing nothing for 45 seconds.

i can see a delay like that being an issue at boot time.

Respects
BruceS

Follow-Ups:
Re: gbs3 not exitingBrian G <brian@xxxxxxxxxxxxxxxx>
References:
gbs3 not exitingBruce Steers <bsteers4@xxxxxxxxx>
Re: gbs3 not exitingBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>