Module: Gitlab::QA::Support::Shellout

Class Method Summary collapse

Class Method Details

.shell(command = nil, stdin_data: nil, mask_secrets: nil, stream_output: false, &block) ⇒ Object



9
10
11
12
# File 'lib/gitlab/qa/support/shellout.rb', line 9

def shell(command = nil, stdin_data: nil, mask_secrets: nil, stream_output: false, &block)
  Support::ShellCommand.new(
    command, stdin_data: stdin_data, mask_secrets: mask_secrets, stream_output: stream_output).execute!(&block)
end