Added line.strip back but only strip newline
@@ -437,6 +437,7 @@ def read_buffer(type_, io, output_queue, print_output=False, print_func=None):
if not isinstance(line, six.text_type):
line = line.decode('utf-8')
+ line = line.strip('\n')
output_queue.put((type_, line))
if print_output:
