bash-alfred-workflow icon indicating copy to clipboard operation
bash-alfred-workflow copied to clipboard

Opens search for command instead of running.

Open morganestes opened this issue 10 years ago • 1 comments

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.

morganestes avatar Apr 03 '14 16:04 morganestes

I also have this problem

tomdavenport avatar May 28 '19 20:05 tomdavenport