I have my Processing application running for my user as a double-clickable icon that launches the exported application. Is there a way in my code to know if the application is already running and then prevent the launching of a second/multiple instances of the application? My application uses serial comms to talk to an Arduino and multiple instances of the application crashes the serial comms.
Thank you in advance
1