in reply to Check for another running instance of the same program
Advising you that x or y or z is the "best" way without a lot more details on your case would be "iffy," at best.