Module: SystemCommand::Mixin Private

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Helper functions for calling run.

Instance Method Summary collapse

Instance Method Details

#system_command(*args) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



27
28
29
# File 'system_command.rb', line 27

def system_command(*args)
  T.unsafe(SystemCommand).run(*args)
end

#system_command!(*args) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



31
32
33
# File 'system_command.rb', line 31

def system_command!(*args)
  T.unsafe(SystemCommand).run!(*args)
end