Module: SystemCommand::Mixin Private

Extended by:
T::Sig
Included in:
Homebrew, Homebrew::BundleVersion, SystemConfig, SystemConfig, UnpackStrategy, UnpackStrategy::Fossil, UnpackStrategy::Tar, User, Utils::Svn
Defined in:
brew/Library/Homebrew/system_command.rb

Overview

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

Helper functions for calling run.

Instance Method Summary collapse

Instance Method Details

#system_command(*args) ⇒ Object

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.



25
26
27
# File 'brew/Library/Homebrew/system_command.rb', line 25

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

#system_command!(*args) ⇒ Object

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.



29
30
31
# File 'brew/Library/Homebrew/system_command.rb', line 29

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