Is there a way I can force an application on Windows to be a single-instance application, i.e., not launch if another instance of the same application is already running?
Ideally, I want to be able to do this without needing to replace the actual application with a stub, but I would not mind using one if really necessary.