# File lib/pidfile.rb, line 113 def self.running?(path=nil) calling_pid = nil path ||= File.join(DEFAULT_OPTIONS[:piddir], DEFAULT_OPTIONS[:pidfile]) if pidfile_exists?(path) calling_pid = pid(path) end process_exists?(calling_pid) end