B4J Question Stop a second instance of a non ui application?


Licensed User
As posted in another thread
Is there away to disallow multi instances from running?:rolleyes:

For a release build you can use launch4j to prevent a non UI or even a UI program from loading a second instance.
However I was wondering if this could be accomplished someway in the code currently?