Skip to content

Commit

Permalink
Change to blocking IO as windows struggles to handle fds properly
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Nov 19, 2017
1 parent c1aa6ee commit 23c162d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tty/command/process_runner.rb
Expand Up @@ -96,7 +96,7 @@ def write_stream(ready_writers, writers)
ready_writers.each do |fd|
begin
err = nil
size = fd.write_nonblock(@input)
size = fd.write(@input)
@input = @input.byteslice(size..-1)
rescue IO::WaitWritable
rescue Errno::EPIPE => err
Expand Down

0 comments on commit 23c162d

Please sign in to comment.