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


in reply to Determining if self is already running under WinNT/2000

Does Win32 have Process IDs like in Unix? If it does, may I humbly suggest using a PID file?

If it doesn't, what does 'print "$$\n"' give you on a Win32 system?