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

Hide STDERR output when looking for proper browser executable. #653

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eNcacz
Copy link

@eNcacz eNcacz commented Jan 5, 2024

When the library tries to found browser version, then it runs (for example) this command:

google-chrome --version || google-chrome-stable --version || google-chrome-beta --version || google-chrome-dev --version

When the first executable (the google-chrome in example above) is not found, then this error message is printed to STDERR:

/bin/sh: line 1: google-chrome: command not found

This pull request redirects STDERR of the above command to /dev/null so the message will not affect error output of the application.

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

Successfully merging this pull request may close these issues.

None yet

1 participant