Jump to content

Problem with Run Script not finding command


Recommended Posts

Having an issue with the following script...

 

omniboard -ro  ~/Dropbox\ \(Ring\)/Todds\ Projects/index.html

 

This throws the error...

Starting debug for 'Omniboard Update'

[2017-12-14 08:58:40][ERROR: action.script] /Users/Todd.Kidder/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/064B3646-74C9-41B6-B4BF-670EE6264C2A: line 1: omniboard: command not found

 

The command is in my path at /usr/local/bin/omniboard

 

However if i list all the commands available, it shows up in the list as omniboard/

 

Any thoughts?

Link to comment
1 hour ago, TurboTodd said:

The command is in my path at /usr/local/bin/omniboard

 

That's your shell PATH, and Alfred doesn't use your shell environment because it's started by launchd, not your shell.


Instead of just writing omniboard, use the full path /usr/local/bin/omniboard and then it should work.

Edited by deanishe
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...