Jump to content
TimeDelta

"Run Script" action doesn't actually execute anything

Recommended Posts

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 by TimeDelta

Share this post


Link to post

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 by TimeDelta

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...