We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if exists a chrome instance , opn will open a tag on this chrome instance i want to open a new instance
The text was updated successfully, but these errors were encountered:
Then you have to pass a flag to Chrome to tell it to do that. I don't remember which flag. Google it.
Sorry, something went wrong.
@sindresorhus The original issue probably could've provided more details.
I am seeing this with macOS with open:
open
open -a "google chrome" --args --new-window "https://google.com"
vs
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --new-window "https://google.com"
(run both commands twice to see that open does not open a new instance, but running chrome directly does)
The issue is the -n flag is not being passed to open to actually open a new instance of the application, and there doesn't appear to be a way to pass flags to open.
-n
I'm not sure about the status of windows/linux.
No branches or pull requests
if exists a chrome instance , opn will open a tag on this chrome instance
i want to open a new instance
The text was updated successfully, but these errors were encountered: