bash-alfred-workflow
bash-alfred-workflow copied to clipboard
Opens search for command instead of running.
When I type cmd
it shows me the command workflow, but as soon as I start typing a specific command it goes to search with my default search provider.
I turned debugging on and got this output:
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row 1, Col 1: 'Document is empty' in XML:
Fatal error: Call-time pass-by-reference has been removed in Command line code on line 6
When I changed the exec
to remove the references it started working perfectly.
exec('{query} 2>&1', $resultLines, $returnCode);
I'm on OS X 10.9.2, which has PHP 5.4 installed.
I also have this problem