Skip to content
New issue

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

[Q] How do I not open Chrome if it is not already open? #89

Open
NightMachinery opened this issue Feb 8, 2024 · 1 comment
Open

[Q] How do I not open Chrome if it is not already open? #89

NightMachinery opened this issue Feb 8, 2024 · 1 comment

Comments

@NightMachinery
Copy link

chrome-cli info opens Chrome when Chrome is not open. I want it to just return an error.

@booyaa
Copy link

booyaa commented Dec 6, 2024

Until a fix is in place you might be better off counting the number of windows chrome-cli list windows | wc -l and only running chrome-cli info when that value is greater than 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants