@Nullable
  protected String getenv(String name) throws Exception {
    if (myHost instanceof LocalAttachHost) {
      return EnvironmentUtil.getValue(name);
    }

    if (myEnvironment == null) {
      myEnvironment = EnvironmentUtil.parseEnv(myHost.getProcessOutput(ENV_COMMAND_LINE).getStdout().split("\n"));
    }

    return myEnvironment.get(name);
  }
@Nullable
  protected String getenv(String name)