I have 2 programs. I want to build an external tool, which prevents one of the programs from starting, when the other program is already running, and vice versa. I can't touch the code of either of the two programs.
I want to do it preferably with C#, but a scripting language will also be ok.
Can anyone help me with the concept how to implement it?
Thanks in advance.