Method: AppleDEPClient::Token.run_command

Defined in:
lib/apple_dep_client/token.rb

.run_command(command) ⇒ Object



46
47
48
49
# File 'lib/apple_dep_client/token.rb', line 46

def self.run_command(command)
  stdin, stdout, stderr = Open3.popen3 command
  [stdout.read, stderr.read]
end