Jump to content

Shell script doesn't work in workflows


Recommended Posts

I wrote a script like this,

 

#!/bin/sh
HEXO=/Users/cinvro/nvm/v0.10.15/bin/hexo
cd
~/Work/hexo/cinvro.com/
$HEXO generate

 

 

it works when I execute it in my terminal,but it doesn't work when I put it in a Alfred2 Workflow.

hexo here is a node.js program.

Link to comment

I wrote a script like this,

 

#!/bin/sh

HEXO=/Users/cinvro/nvm/v0.10.15/bin/hexo

cd ~/Work/hexo/cinvro.com/

$HEXO generate

 

 

it works when I execute it in my terminal,but it doesn't work when I put it in a Alfred2 Workflow.

hexo here is a node.js program.

 

Hi there,

 

Could you please fill in your Powerpack email address in your forum profile (only visible to me and Vero) before asking Powerpack questions, cheers! :)

 

Andrew

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...