RetroFE forums

General Category => Feature Requests / Suggestions => Topic started by: cassette on March 19, 2018, 03:33:48 AM

Title: Single instance
Post by: cassette on March 19, 2018, 03:33:48 AM
Hey guys. I wanted to say I'd appreciate a way to have RetroFE be limited to one instance only.

A use case scenario is for a remote controller to launch RetroFE by opening it's .exe. Opening it works fine, but if I switch to another program (all of which are in single instance mode) by opening their .exe from the remote, and then I want to go back to RetroFE from the controller, this second opening of RetroFE's .exe will launch a second instance, rather than going back to the first one.
Title: Re: Single instance
Post by: Pieter Hulshoff on March 20, 2018, 06:36:33 AM
It sounds like something that could be solved with a batch script and a lock file. Have you tried that?