http://qs321.pair.com?node_id=11134222


in reply to singleton lock not reliable

This is how I do it: Re: Preventing multiple instances (a simple way to verify everything is working correctly is to write debug trace to an absolute-path log file).