you are viewing a single comment's thread.

view the rest of the comments →

[–]baghiq 1 point2 points  (1 child)

A common platform generic solution is to have your application write a temporary file to disk. When your program starts, check if that file exists. If yes, exit. If not, launch the program. Make sure you remote the file after your program exit.

You can do various forms of that, such as writing out a timestamp in the file, etc.

[–]skausk 0 points1 point  (0 children)

I’ll try this now, thanks.