Module: SystemCommand::Mixin Private
- Included in:
- GitHub, Homebrew, Homebrew, Homebrew::BundleVersion, SystemConfig, SystemConfig, UnpackStrategy, UnpackStrategy::Fossil, UnpackStrategy::Tar, User, Utils::Svn
- Defined in:
- system_command.rb
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
-
#system_command(executable, **options) ⇒ Object
private
-
#system_command!(command, **options) ⇒ Object
private
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, **) SystemCommand.run(executable, **) 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, **) SystemCommand.run!(command, **) end |