Tim H 1 Posted June 26, 2019 Share Posted June 26, 2019 Duh, you're right. Put in the absolute path to the system PHP ('/usr/bin/php') and it works again. Was using the Homebrew version based on the path. deanishe 1 Link to post
deanishe 1,371 Posted June 26, 2019 Share Posted June 26, 2019 (edited) 2 hours ago, Tim H said: Was using the Homebrew version based on the path. That’s odd. Have you changed your $PATH in launchd? Normally, /usr/local/bin isn’t on your path in Alfred. I also wonder why it was segfaulting. That’s really not supposed to happen. Anyhow, glad it’s working Edited June 26, 2019 by deanishe Link to post
citelao 8 Posted June 27, 2019 Author Share Posted June 27, 2019 8 hours ago, deanishe said: That’s odd. Have you changed your $PATH in launchd? Normally, /usr/local/bin isn’t on your path in Alfred. I also wonder why it was segfaulting. That’s really not supposed to happen. Anyhow, glad it’s working Thanks for your help! 10 hours ago, Tim H said: Duh, you're right. Put in the absolute path to the system PHP ('/usr/bin/php') and it works again. Was using the Homebrew version based on the path. I'm glad you fixed it, too! Link to post
Tim H 1 Posted June 27, 2019 Share Posted June 27, 2019 20 hours ago, deanishe said: That’s odd. Have you changed your $PATH in launchd? Normally, /usr/local/bin isn’t on your path in Alfred. Actually, just noticed that Spotifious sets the path to `/usr/local/bin` explicitly in the script filter, so it will pick up Homebrew PHP if it's there. # Add Homebrew to path for those who need :) export PATH="/usr/local/bin:${PATH}" php -f main.php -- "{query}" # In case you are experiencing unsolveable issues, # you can generate a log file to help me. Modify the # first line of this script so it looks like this: # php -f main.php -- "{query}" | tee ~/Desktop/Spotifious.log Link to post
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