On Wed, 21 May 2008 09:30:41 -0000 (UTC), "Frank Lanitz" frank@frank.uvena.de wrote:
Hi guys,
I'm not that common with working on Windows, but I recognized a behaviour of the Geany W32 today where I'm not sure, if it is optimal. When marking more then one file and click on 'open with Geany', for very file a new instance of Geany is started. Can somebody of you give me some input on this? ;)
This happens because the Windows Explorer executes geany.exe <filename> for every file you have selected. It doesn't wait until the first instance is fully started so when it executes geany.exe for the second file the mutex of the first instance is probably not yet created and so the second instance can't connect to the first instance, then it thinks no other Geany instance is running and start a new one. Same for all other selected files. It's some kind of race condition.
Just start Geany before and all will work fine.
Regards, Enrico