Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.
What causes Thunderbird to report "already running..." when it isn't?
Client machines are Windows 10, profiles reside in a shared folder. I run a batch script instead of using the Win10 "Sleep" button to put client PCs to sleep. This script runs:
taskkill /fi "USERNAME eq %USERNAME%" /im thunderbird.exe
then loops repeating a tasklist command until thunderbird.exe is no longer reported as running, then runs a command to put the PC to sleep.
In spite of these precautions, when I run thunderbird from another PC, it intermittently fails with "already running...". Waking up the sleeping PC, without even logging in, clears up the problem. Attempting to delete the parent.lock file fails "in use". Apparently, thunderbird.exe not showing up in a tasklist is not a reliable indication that it has completed. What else can the script check? What exactly does Thunderbird check that causes it to report "already running"?