Module: Shell

Defined in:
lib/pangea/docker.rb,
lib/pangea/shell/terraform.rb

Defined Under Namespace

Modules: Terraform

Class Method Summary collapse

Class Method Details

.run(bin, cmd) ⇒ Object



3
4
5
6
7
8
# File 'lib/pangea/docker.rb', line 3

def run(bin, cmd)
  final = []
  final << bin
  final.concat(cmd)
  system final.join(%( ))
end