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(executable, **options) ⇒ 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.



21
22
23
# File 'system_command.rb', line 21

def system_command(executable, **options)
  SystemCommand.run(executable, **options)
end

#system_command!(command, **options) ⇒ 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.



25
26
27
# File 'system_command.rb', line 25

def system_command!(command, **options)
  SystemCommand.run!(command, **options)
end