I need to make sure that the user can't start 2 or more copies of my program at the same time.
How do I do this?
Or alternatively, is there any way for a running program to be able to read info from the command line?
So instead of it opening another copy of my program with this command line options, it would just send this information to the already running program.
Thanks
How do I do this?
Or alternatively, is there any way for a running program to be able to read info from the command line?
So instead of it opening another copy of my program with this command line options, it would just send this information to the already running program.
Thanks