module Mixlib::ShellOut::Unix

def configure_parent_process_file_descriptors

def configure_parent_process_file_descriptors
  # Close the sides of the pipes we don't care about
  stdout_pipe.last.close
  stderr_pipe.last.close
  process_status_pipe.last.close
  # Get output as it happens rather than buffered
  child_stdout.sync = true
  child_stderr.sync = true
  true
end