Why my shell script doesn't work in Alfred 2 Workflow -


i wrote script this,

#!/bin/sh hexo=/users/cinvro/nvm/v0.10.15/bin/hexo cd ~/work/hexo/cinvro.com/ $hexo generate 

it works when execute in terminal,but doesn't work when put in alfred2 workflow.

hexo here node.js program.

it might ~ problem, replace absolute path:

#!/bin/sh hexo=/users/cinvro/nvm/v0.10.15/bin/hexo cd /users/cinvro/work/hexo/cinvro.com/ $hexo generate 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -