code: func (darwin *darwinRecord) checkRunning() (string, bool) {
  	output, err := exec.Command("launchctl", "list", darwin.name).Output()
  	if err == nil {
  		if matched, err := regexp.MatchString(darwin.name, string(output)); err == nil && matched {
  			reg := regexp.MustCompile("PID\" = ([0-9]+);")
  			data := reg.FindStringSubmatch(string(output))
  			if len(data) > 1 {
  				return "Service (pid  " + data[1] + ") is running...", true
  			}
  			return "Service is running...", true
  		}
  	}
  
  	return "Service is stopped", false
  }
docs: // Check service is running