TimeDelta Posted October 18, 2015 Posted October 18, 2015 (edited) So I have a workflow set up with a script filter triggering a "run script" action. The (/bin/bash) script action is set to escape backquotes / dollar signs, run instances sequentially and contains this: echo entered alfred.workflow.action.script >&2 ./process_command.sh {query} When the script action gets executed, the Debug pane (set to log all information) shows this: [iNFO: alfred.workflow.input.scriptfilter] Processing output 'alfred.workflow.action.script' with arg 'restore sa ' At first, I thought I just screwed something up, so i set up a hotkey trigger to go directly into the same script action, but it still only yields this: [iNFO: alfred.workflow.trigger.hotkey] Processing output 'alfred.workflow.action.script' with arg 'restore sa' The weird thing is that it used to work just fine. The only thing on my system that's changed in that time is that I installed the newly released public beta update for El Capitan - 10.11.1 Beta (15B38b). I have randomly gotten it to work again after first experiencing this issue (not sure how) but it broke again soon after. In case it helps, here's a link to the GitHub repo containing my code: https://github.com/TimeDelta/session_archiver Edited October 18, 2015 by TimeDelta
TimeDelta Posted October 18, 2015 Author Posted October 18, 2015 Oops, didn't realize there was a better place to post this (Bug Reports). Not sure how to change that now though.
TimeDelta Posted October 19, 2015 Author Posted October 19, 2015 (edited) I figured out that restarting Alfred temporarily fixes the issue. Also, when I quit Alfred, I notice that a bunch of empty stdin files pop up in Sublime Text Edited October 19, 2015 by TimeDelta
deanishe Posted October 20, 2015 Posted October 20, 2015 What does the script do when you run it in a shell? What about using env -i ./myscript.sh to simulate Alfred's empty environment?
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