Jump to content

Command doesnt work in Run Script


Recommended Posts

Hi,

I toggle bluetooth using a workflow. It was working fine in Ventura. After upgrading to Sonoma, it doesn't work.

The Run Script has the following code

 

blueutil -p toggle


This works fine from terminal. But, not from the workflow.

I tried outputting the PATH in the Run Script to see if Alfred has access to the executable. It seems like it has,
 

>&2 echo $PATH # returns /opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin within Run Script


In the terminal, 
 

$ which blueutil
/opt/homebrew/bin/blueutil


I'm not sure what's wrong.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...