Is there a built-in way to limit the system to only having a single instance of the Panda3D application running?
I was considering just having the application make a file during startup and then get rid of it during termination. Every other potential instance would check if that file exists and either terminate (if it does) or continue running otherwise. I would be concerned that if an application crashes, this could be thrown off.
Is there anything better to handle this?