Darktable flashes multiple CMD screens on startup

Installed 4.6.0 on a pretty fast Windows 11 machine. At startup, annoyingly, about 6 or 7 CMD windows flash open and closed. Is this normal? Have I installed something incorrectly? I just used the downloaded installer. It’s not a good look, apart from anything. Can these screens be suppressed?

Normally, the Lua script manager does that if it’s enabled, when it refreshes the installed scripts. If you don’t use Lua scripts, you can disable it.

However, I don’t think that should happen with a brand new install.

https://docs.darktable.org/lua/stable/lua.scripts.manual/installation/#windows

https://docs.darktable.org/lua/stable/lua.scripts.manual/scripts/tools/script_manager

It might flash one the first time you start darktable on a clean installation. That is a check for the git executable.

On windows when you execute a system command from a script, windows has to open a command window to process the command. I’ve been trying to get past this “feature” for years and so far neither I nor anyone else has come up with a solution.

2 Likes

As @kofa said this is normal with Lua script manager enabled. Prior to enabling Lua script manager I didn’t have this occurring, but now I have some lua scripts enabled I get this happening. It is really not a problem and the lua scripts I am using are so beneficial to my work that I will put up with the inconvenience (if it is that) of the CMD screens flashing up at the start. It is just a few seconds at best.

Thank you all - yes, it’s having the Lua scripts enabled. Obviously does not affter functionality, just seems a poor sort of thing. Maybe there are Lua experts that have some solutions.

It’s not a Lua issue, it’s a windows issue.

1 Like