This means the package works, usually (and makes compiled code smaller), but I believe if you cross-compile on e.g. macOS, for Windows, then you get the wrong macOS behavior on Windows… (am I wrong, or if not is @static a sort of code-smell for AppBundler/PackageCompiler?). Since the code is basically 80 lines, and not speed- nor compiled-code-size-critical, do without this?
I sort of recalled this package, and it’s not just to start web browsers, all sort of files, e.g. JPEG, in some viewer, or text files in an editor. Given how useful, and that people are likely to hard-code platform-specific behavior, e.g. for Windows, use notepad…, people should use this solution, and I could argue adding it to Base. I know it doesn’t strictly need to be there, but for discoverability would be good or at least in Julia’s docs.