open (process)

open is a NeXTSTEP & 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

References

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

External links


This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.