svoid openPlatformBrowser(S url) ctex { if (isHeadless()) ret; if (isLinux()) { nohup(print(firstCmdOnPATH_mandatory("xdg-open") + " " + platformQuote(url))); } else { print("Opening platform-specific browser on: " + url); Desktop.getDesktop().browse(uri(url)); } } svoid openPlatformBrowser(URL url) { if (url == null) ret; openPlatformBrowser(str(url)); }