Launches the specified app.
- macOS 10.0+
The name of the app to open.
YES if the app was successfully launched or was already running; otherwise,
app parameter need not be specified with a full path and, in the case of an app wrapper, may be specified with or without the
.app extension, as described in Use of .app Extension.
Before this method begins, it posts an
NSWorkspace to the
NSWorkspace object’s notification center. When the operation is complete, it posts an
It is safe to call this method from any thread in your app in macOS 10.6 and later.