Module: SyncWrap::Shell
- Included in:
- Context
- Defined in:
- lib/syncwrap/shell.rb
Overview
Low level command construction and process output capture.
Supported Commands
Local:
bash [-v|-x -e -n] -c COMMANDS
sudo :sudo_flags [-u user] bash [-v|-x -e -n] -c COMMANDS
Remote:
ssh :ssh_flags :host bash [-v|-x -e -n] -c "COMMANDS"
ssh :ssh_flags :host sudo :sudo_flags [-u user] bash [-v|-x -e -n] -c "COMMANDS"
Example ssh_flags: -i ./key.pem -l ec2-user
Example sudo_flags: -H