joshyboyrules Posted July 30, 2016 Share Posted July 30, 2016 Is there a way to bind the console log of a terminal command to a {query} output in a workflow? Link to comment
deanishe Posted July 30, 2016 Share Posted July 30, 2016 When Alfred runs your code, any output to STDERR ends up in the debugger and any output to STDOUT becomes the input for the next action. If I've understood you correctly, you need to redirect STDERR to STDOUT. Link to comment
joshyboyrules Posted July 31, 2016 Author Share Posted July 31, 2016 I'm running a node app script file and I am console.log() something at the end. How do I turn that into an input for the next action? Link to comment
deanishe Posted July 31, 2016 Share Posted July 31, 2016 Apparently in node, console.log() writes to STDOUT, so that is the input to the next action. Link to comment
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