Method: Pullr::CommandLine#sh

Defined in:
lib/pullr/command_line.rb

#sh(program, *args) ⇒ Object

Runs a command.

Parameters:

  • program (String)

    The name or path of the program to run.

  • args (Array<String>)

    The additional arguments to run with the program.



35
36
37
# File 'lib/pullr/command_line.rb', line 35

def sh(program,*args)
  system(program,*args)
end