02-23-2013, 05:57 PM
Quote:It still happens now? Maybe the command line program does not support multiple instances of its process. Then add lock near the beginning of the shell-menu-triggered function.
I put the lock in another place, but yours makes it do the job. Sometimes, I wonder why I struggle so much
with little details problems....
Quote:When it was macro, it did not run if previous instance of the macro was still running. Now two threads of the function run simultaneously in this case; and two processes of the command line program launched, unless there is lock .
Will use more functions than macros, seems more flexible..
thanks again.