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



53
54
55
56
57
# File 'lib/r10k/util/subprocess.rb', line 53

def initialize(argv)
  @argv = argv

  @raise_on_fail = false
end