Author Topic: Single instance  (Read 500 times)

firewater

  • Full Member
  • ***
  • Posts: 144
  • Karma: +1/-0
    • View Profile
Single instance
« 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.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1106
  • Karma: +18/-0
    • View Profile
    • Towel 42
Re: Single instance
« Reply #1 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?