All apps/open

open

open

Opens files, folders, apps or URLs with the default application on macOS.

Runs as open|macOS

Autocomplete

Fig spec, with what the manifest adds · 20 options
Published once and never changed; check the digest before caching
sha256
5c437f3d712f54b3bc5ebfb69b00cfb3a6f81a26277415bc72b70f80844c74d6
Size
4830 bytes
OptionsOn open itself
-a
Specify the application to use for opening the file <Application>
-b
Specify the bundle identifier of the app to use to open the file <Bundle Identifier>
-D
Reveals the enclosing folder in finder
-e
Opens the file with /Applications/TextEdit
-t
Open the file with the default text editor
-f
Read input from standard input and open the results in the default text editor
-F--fresh
Opens the application without restoring windows
-W--wait-apps
Waits until the applications exit
-R--reveal
Reveals the file(s) in the Finder instead of opening them
-n--new
Open a new instance of the application(s) even if one is already running
-j--hide
Launches the app hidden
-g--background
Do not bring the application to the foreground
-h--header
Searches header locations for a header whose name matches the given string and then opens it
-s
For -h, the SDK to use; if supplied, only SDKs whose names contain the argument value are searched <partial SDK name>
-u--url
Open this URL, even if it matches exactly a filepath <URL>
-i--stdin
Launches the application with stdin connected to PATH; defaults to /dev/null <PATH>
-o--stdout
Launches the application with /dev/stdout connected to PATH <PATH>
--stderr
Launches the application with /dev/stderr connected to PATH <PATH>
--env
Add an enviroment variable to the launched process, where VAR is formatted AAA=foo <VAR>
--args
All remaining arguments are passed to the opened application in the argv parameter to main(). These arguments are not opened or interpreted by the open tool <Arguments>
ArgumentsPositional, in order
<value>
· repeatable · filepaths