# Functions

DeleteCurrentPidAndStartTime delete the file created by SaveCurrentPidAndStartTime.
GetProcessStartTime returns the start time of the active process if still active.
IsExtensionStillRunning checks if there is active process for the same extension name.
KillPreviousExtension handles the case where a process for the same extension name is still active from previous execution.
ReadPidAndStartTime reads the stored pid and process start time from a file extName.pid Returns 0 and "" if path not found.
SaveCurrentPidAndStartTime stores current process id with start date in file extName.pid Example: 325 Tue Dec 8 15:54:04 2020.