On Sat, Jun 08, 2019 at 11:50:46AM +0200, Enrico Forestieri wrote: > On Sat, Jun 08, 2019 at 10:20:28AM +0100, José Abílio Matos wrote: > > I suspect that this is a problem that come from the previous code. > > Basically every time we ask for python we search for where it is. > > No, we only search for it the first time. Due to the static string command, > python23() is only called at initialization time. > > > I will cache its value and only calculate it the first time or when we ask > > to > > reset it. > > Actually, it is already so.
Looking at the code, it seems that you add " -tt" each time os:python() is called. But you should do it only when command is initialized, i.e., you should move `command += " -tt";' inside the `if (command.empty())' stanzas. -- Enrico