Sha256: 24048537ca6be398dfd2705777dd2153bbbe04297af502ba2a0cb14c7f52d77e
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
require 'mixlib/shellout' module Ridley::Mixin # @author Jamie Winsor <jamie@vialstudios.com> module ShellOut # @return [Mixlib::ShellOut] def shell_out(*command_args) cmd = Mixlib::ShellOut.new(*command_args) if STDOUT.tty? cmd.live_stream = STDOUT end cmd.run_command cmd end # @return [Mixlib::ShellOut] def shell_out!(*command_args) cmd = shell_out(*command_args) cmd.error! cmd end end end
Version data entries
5 entries across 5 versions & 1 rubygems