(read_process_output): Make sure the current buffer is