public String getName() {
    return name;
  }
Returns the name of the operating system, as returned by the {@code os.name} system property.

@return the name of the operating system, as returned by the {@code os.name} system property
spock-core/src/main/java/spock/util/environment/OperatingSystem.java