Project

General

Profile

Bug #8541 ยป test.rb

ferrous26 (Mark Rada), 06/19/2013 04:50 AM

 
1
require 'open3'
2
sin, sout, serr, th = Open3.popen3("ruby -e '$stdout.puts 1; $stdin.getc'")
3
puts sout.getc