Sujet : Re: glob not working during startup
De : nospam.nurdglaw (at) *nospam* gmail.com (Alan Grunwald)
Groupes : comp.lang.tclDate : 26. May 2025, 12:49:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1011khu$1vtbv$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 26/05/2025 12:33, alexandru wrote:
I have this weird problem with "glob" command, which returns empty list
during application startup but works as expected afterwards.
The command is:
set paths [glob -nocomplain -types f -dir $homedir -- {*.materials}]
and homedir ist C:/Users/Public on Windows OS.
The command is so basic, I have no idea were to start debugging.
Any saving ideas?
Many thanks
Alexandru
--
I have no constructive suggestions, except to ask if you are REALLY SURE that this is what's failing? Whenever I come across something like this that is so basic it can't possibly be going wrong, it generally turns out that it isn't going wrong and the fault is elsewhere.I take it that you have confirmed that homedir is set to what you expect before executing the command you quote and that paths is set to something you don't expect after executing it.Other than the above, I can only offer sympathy and best wishes.Alan