I have a python script which i am using as a service.I have converted the script to .exe for windows and i am starting the service by running the .exe file.
If i once again click on the .exe file,a new instance of the same service starts.Is there a way to tell that a particular service is already running and not allowing the a new instance to start?