Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling jobs with same macro, queuing
#13
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)