open is a NeXTSTEP and macOS command line process that opens files, folders or URLs in the GUI as though the user had double clicked on them. Files will be opened in the default application for their type, folders will be opened in the Finder or file system GUI, and URLs will be opened in the default browser.

It is based on the AppKit API -[NSWorkspace openURL:], which is stubbed to other OS alternatives on GNUstep if a GS application is not registered for a file.[1]

Other OS alternatives

edit

References

edit
  1. ^ "GNUstep - Bugs: bug #34490, -[NSWorkspace open*] native system... [Savannah]". savannah.gnu.org.
edit