Hi all,
I get the feeling this one's been asked before, and recently, but I couldn't find it anywhere.
How do I prevent my program from being executed if it's already running?
Obviously, the second instance will check to see if the same process is running, and then terminate immediately if so, but I don't know how to check. Can anyone help? Many thanks.
I get the feeling this one's been asked before, and recently, but I couldn't find it anywhere.
How do I prevent my program from being executed if it's already running?
Obviously, the second instance will check to see if the same process is running, and then terminate immediately if so, but I don't know how to check. Can anyone help? Many thanks.