vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Plugin::V1::Communicator#execute

Execute a command on the remote machine. The exact semantics
of this method are up to the implementor, but in general the
users of this class will expect this to be a shell.

This method gives you no way to write data back to the remote
machine, so only execute commands that don't expect input.

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/plugin/v1/communicator.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Communicator-execute-for-pr


# Commit to git

git add lib/vagrant/plugin/v1/communicator.rbgit commit -m "better docs for Vagrant::Plugin::V1::Communicator#execute"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Vagrant--Plugin--V1--Communicator-execute-for-pr

hub pull-request


# Celebrate!