Add function for getting the current process path.