Temporary allow more application instances


#1

For my plugin scanning routine, i start an extra instance of my application. This is of cause not possible if  moreThanOneInstanceAllowed returns false (which should be the general behavior) So i need a possibilty to change the behavoir temporary...

Is it possible that the moreThanOneInstanceAllowed() callback, gets the commandLine, to decide if its okay to start a second instance?

 


#2

You can just call getCommandLineParameters() if you need to know them.


#3

ah, so easy ;)yes thanks!!!