# File lib/systemu.rb, line 269 def systemu split_argv = JRuby::PathHelper.smart_split_command @argv process = java.lang.Runtime.runtime.exec split_argv.to_java(:string) stdout, stderr = [process.input_stream, process.error_stream].map do |stream| StreamReader.new(stream) end exit_code = process.wait_for [ RubyProcess::RubyStatus.new_process_status(JRuby.runtime, exit_code), stdout.join, stderr.join ] end