Matt <m...@excalamus.com> writes: > ---- On Mon, 06 Nov 2023 14:32:16 +0100 Ihor Radchenko wrote --- > > I am wondering about the possible downsides of using script approach > > instead of stdin redirection. > > I'm curious to hear more about what you're thinking.
I am thinking to change the (t (org-babel-eval shell-file-name (org-trim body))) clause in `org-babel-sh-evaluate' to something that uses a script file. It will clearly solve the discussed problem, possibly at the cost of small overhead to write the script file to disk. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>