code: func runLocalCommand(cmd string, args ...string) (error, int) {
  	osCmd := exec.Command(cmd, args...)
  	osCmd.Stderr = os.Stderr
  	osCmd.Stdout = os.Stdout
  	osCmd.Start()
  	err := osCmd.Wait()
  	if err != nil {
  		// Get the command's exit status if we can
  		if exiterr, ok := err.(*exec.ExitError); ok {
  			if status, ok := exiterr.Sys().(syscall.WaitStatus); ok {
  				return nil, status.ExitStatus()
  			}
  		}
  		// Otherwise, generic command error
  		return err, -1
  	}
  	return nil, 0
  }
docs: // runLocalCommand runs the given command locally and returns any error encountered and the exit code of the command