lib/dolzenko/shell_out.rb in dolzenko-0.0.16 vs lib/dolzenko/shell_out.rb in dolzenko-0.0.17
- old
+ new
@@ -164,10 +164,10 @@
end
writer.abort_on_exception = true
loop do
c = begin
- r_pty.sysread(512)
+ r_pty.getc
rescue Errno::EIO, EOFError
nil
end
break if c.nil?
\ No newline at end of file