Temporary allow more application instances

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?

 

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

ah, so easy ;)yes thanks!!!