void (int priority) { if (!SystemInfo.isUnix) { throw new IllegalArgumentException("setUnixProcessPriority must be used only on Unix operating systems"); } setUnixProcessPriority(myCommandLine, priority); }