Class: Allowlist::Command
- Inherits:
-
Object
- Object
- Allowlist::Command
- Defined in:
- lib/cocoapods-allowlist/utils/command.rb
Class Method Summary collapse
-
.execute(command) ⇒ Object
This method is for execute commands in terminal.
Class Method Details
.execute(command) ⇒ Object
This method is for execute commands in terminal
6 7 8 9 |
# File 'lib/cocoapods-allowlist/utils/command.rb', line 6 def self.execute(command) ssh_mux = 'ssh -o ControlMaster=auto -o ControlPath=~/.ssh/meli-mux-%C -o ControlPersist=60' Open3.capture3({'GIT_SSH_COMMAND' => ssh_mux}, command) end |