Method: R10K::Util::Subprocess#initialize

Defined in:
lib/r10k/util/subprocess.rb

#initialize(argv) ⇒ Subprocess

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Prepare the subprocess invocation.

Parameters:

  • argv (Array<String>)

    The argument vector to execute



56
57
58
59
60
# File 'lib/r10k/util/subprocess.rb', line 56

def initialize(argv)
  @argv = argv

  @raise_on_fail = false
end