public static int getPortableSignalNumber(@NotNull String signalName) {
    switch (signalName) {
      case "HUP": return SIGHUP;
      case "INT": return SIGINT;
      case "QUIT": return SIGQUIT;
      case "ABRT": return SIGABRT;
      case "KILL": return SIGKILL;
      case "ALRM": return SIGALRM;
      case "TERM": return SIGTERM;
      default: return -1;
    }
  }
public static int getPortableSignalNumber(@NotNull String signalName)