Module: Tools::Support::Execution

Included in:
Actions::Create, Actions::Transcode
Defined in:
lib/tools/support/execution.rb

Instance Method Summary collapse

Instance Method Details

#execute_command(command) ⇒ String

Execute a console command

Parameters:

  • Command (String)

    to execute.

Returns:

  • (String)

    Output of the execution.



7
8
9
# File 'lib/tools/support/execution.rb', line 7

def execute_command(command)
  `#{command}`
end