I can confirm that replacing scm_write_line (ly_string2scm (str), port);
with scm_c_write (port, str.c_str (), str.length ()); fixes the issue on my end. I’d be happy to make a merge request for this. > On Jan 13, 2024, at 6:19 PM, Jean Abou Samra <j...@abou-samra.fr> wrote: > >> I don't have the time to check this but is there not a way to simply write >> bytes to (current-error-port) in Guile? > > Like scm_c_write < > https://www.gnu.org/software/guile/manual/html_node/Using-Ports-from-C.html > > ?