Hello, The attached org file gives examples of outputs from octave code blocks that are unexpected and inconsistent. The attached bug.org file should be opened with emacs -Q -l init.el bug.org The problems only occur when the ":session" header is used. Paul Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-03-16, modified by Debian Package: Org mode version 9.7-pre (release_9.6.7-581-gd38ca5 @ /home/ps/.emacs.d_Kubuntu-23.04/org-mode-git/lisp/)