class ProcessExecuter::Result

def stdout

Returns:
  • (String, nil) -
def stdout
  Array(options.out).each do |pipe|
    next unless pipe.is_a?(ProcessExecuter::MonitoredPipe)
    pipe.writers.each do |writer|
      return writer.string if writer.respond_to?(:string)
    end
  end
  nil
end