lib/bio/cli.rb
def shellout(*cmd)
      so = Mixlib::ShellOut.new(*cmd)
      so.live_stdout = $stdout
      so.live_stderr = $stderr

      so.cwd = run_config[:plan_context]

      debug_section('Running Command', so.command) if run_config[:debug]
      so.run_command

      message "Took #{so.execution_time} sec." if run_config[:debug]

      so
    end
# Wrapper to properly run shell out command:
# @param [*] arguments for shellout
# @return [Mixlib::ShellOut]
Wrapper to properly run shell out command.
Wrapper to properly run shell out command .
def shellout(*cmd)
      so = Mixlib::ShellOut.new(*cmd)
      so.live_stdout = $stdout
      so.live_stderr = $stderr
      so.cwd = run_config[:plan_context]
      debug_section('Running Command', so.command) if run_config[:debug]
      so.run_command
      message "Took #{so.execution_time} sec." if run_config[:debug]
      so
    end
def shellout ( * cmd ) so = Mixlib :: ShellOut . new ( * cmd ) so . live_stdout = $stdout so . live_stderr = $stderr so . cwd = run_config [ :plan_context ] debug_section ( 'Running Command' , so . command ) if run_config [ :debug ] so . run_command message "Took #{so.execution_time} sec." if run_config [ :debug ] so end
Wrapper to properly run shell out command:
Wrapper to properly run shell out command :
None
Mixlib::ShellOut
cmd
arguments for shellout
arguments for shellout