Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start an external command inside shellscript #19

Open
jonathan-dejong opened this issue May 8, 2017 · 0 comments
Open

Can't start an external command inside shellscript #19

jonathan-dejong opened this issue May 8, 2017 · 0 comments

Comments

@jonathan-dejong
Copy link

jonathan-dejong commented May 8, 2017

Related: #1 (comment)

I downloaded the official mac app but noticed it did not support custom scripts so I installed this again (seems you're still supporting this?).

I now try to run a script that looks like this:

#!/usr/bin/env bash
cd ~/Sites/vvv
echo "startat via flic!" >> flic.log
whoami >> flic.log
pwd >> flic.log
#vagrant halt >> flic.log
vagrant up >> flic.log

It's for booting up my dev environment and the plan was to add a shutdown as well etc.
It runs the command correctly and outputs the log in the start of the vagrantfile but then dies when it should run other scripts from that file.

It's just strange because flic runs as my user with permissions.. and if I run the script myself from terminal it works. I can't figure out what the difference is..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant