Skip to content

Commit

Permalink
Change to blocking io
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Apr 22, 2018
1 parent b9ee9b1 commit dfdeceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tty/command/process_runner.rb
Expand Up @@ -165,7 +165,7 @@ def read_stream(stream, buffer)

ready[0].each do |reader|
begin
line = reader.read_nonblock(BUFSIZE)
line = reader.readpartial(BUFSIZE)
buffer.(line)

# control total time spent reading
Expand Down

0 comments on commit dfdeceb

Please sign in to comment.