ragusource
-
Posts
4 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by ragusource
-
-
Hey Shawn,
I updated my workflow to look like this:
cd /Volumes/Development/INTOFILM/highlanderIFS=' ' read -a args <<< '{query}'case ${args[0]} instatus)/usr/bin/vagrant status > /var/tmp/highlander-status.log;;up)/usr/bin/vagrant up > /var/tmp/highlander-up.log;;halt)/usr/bin/vagrant halt > /var/tmp/highlander-halt.log;;*)echo 'Usage highlander {status|up|halt}'exit 1;;esacHowever there is nothing in the logs that get generated, it's as if the command doesn't run at all. -
The full path to vagrant is: /usr/bin/vagrant
I tried the following:
PATH=/usr/local/opt/ruby/bin:/usr/local/sbin:/usr/local/bin:/Users/rrajaratnam/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bincd /Volumes/Development/INTOFILM/highlanderIFS=' ' read -a args <<< '{query}'case ${args[0]} instatus)vagrant status;;up)vagrant up;;halt)vagrant halt;;*)echo 'Usage highlander {status|up|halt}'exit 1;;esacThat did not work, so I tried this:cd /Volumes/Development/INTOFILM/highlanderIFS=' ' read -a args <<< '{query}'case ${args[0]} instatus)/usr/bin/vagrant status;;up)/usr/bin/vagrant up;;halt)/usr/bin/vagrant halt;;*)echo 'Usage highlander {status|up|halt}'exit 1;;esacThat doesn't work either. -
Hi Guys,I am having an issue with the following bash script:cd /Volumes/Development/RAGUSOURCE/highlanderIFS=', ' read -a args <<< '{query}'case ${args[0]} instatus)echo `vagrant status`;;up)echo `vagrant up`;;*)echo 'Usage highlander {status|up|halt|ssh}'exit 1;;esacThe commands run fine via the terminal, but not in a workflow.
vagrant command not working
in Workflow Help & Questions
Posted
Hey Shawn, I managed to get this to work. My issue was that I customised the vagrant dotfile path in my setup and when the script was running it couldn't find the dot path and was doing nothing.
The following works for me: