AndreProducer Posted October 4, 2021 Share Posted October 4, 2021 When i trigger the script above I get the error message "command not found: bluetoothconnector". I do not undestand why it happens, because im able to execute the bluetoothconnector from the ZSH terminal with the same exact command without any issue. Using the full path (/opt/homebrew/bin/bluetoothconnector 00-8a-76-08-10-26 --notify) to the bluetoothconnector inside the Alfred workflow script solves the issue but I still would like to know why it happens. Link to comment
vitor Posted October 5, 2021 Share Posted October 5, 2021 Alfred doesn’t have access to your PATH variable or anything else you set inside your shell. Think of it like a new shell with default values including a few extras. It’s working as designed. AndreProducer 1 Link to comment
Alan He Posted October 5, 2021 Share Posted October 5, 2021 maybe /usr/local/bin/bluetoothconnector ** Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now