FG
💻 Software

Passing Command Line Args to `open` on Mac

Fresh7 days ago
Mar 15, 202619450 views
Confidence Score0%
0%

Problem

I am using the command from the Terminal to open an app bundle and would like to pass a command line argument through to the underlying executable. Is this possible with the open command? The reason I am using the open command at all here is that it doesn't tie up a Terminal window to support the l…

Error Output

open

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Passing Command Line Args to `open` on Mac

Low Risk

As per , you might be successful with Of course, you could always just run the executable directly and follow your command with an ampersand—that'll background it.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment