createPidFile

Create and lock a PID file. If the PID file exists and is locked, an exception is thrown. To use, simply call this function at the top of main to prevent multiple instances.

void
createPidFile
(,)

Meta