lib/departure/command.rb in departure-6.0.0 vs lib/departure/command.rb in departure-6.1.0
- old
+ new
@@ -42,10 +42,10 @@
def run_in_process
Open3.popen3(full_command) do |_stdin, stdout, _stderr, waith_thr|
begin
loop do
IO.select([stdout])
- data = stdout.read_nonblock(8)
+ data = stdout.read_nonblock(8192)
logger.write_no_newline(data)
end
rescue EOFError # rubocop:disable Lint/HandleExceptions
# noop
ensure