class Mixlib::ShellOut

def live_stream

Returns the stream that both is being used by both live_stdout and live_stderr, or nil
def live_stream
  live_stdout == live_stderr ? live_stdout : nil
end