Complete newbie here. I’ve just installed 1.12.3 on an M1 Mac running Sequoia 15.4. I’m using a escape-sequence capable terminal for my interactive Julia sessions, but I run my scripts from inside an Emacs terminal window, which is a dumb terminal (and sets TERM=dumb correctly). When I run a script, before running any code in the script, it prints the same escape sequenced (ESC ] 0; Julia ) twice. E.g.,
$ julia hello.jl
^[]0;Julia^G^[]0;Julia^GHello, World!
$
The ESC ] 0; escape sequence looks like it’s the Operating System Command to set the window title. It makes sense that Julia wants to do that, but maybe not when TERM=dumb? (And maybe only once?)
I’ve tried using --color=no and --banner=no, but neither affects this behavior. It doesn’t do this if output is to a pipe, so it seems to be something that’s checking whether stdout is a tty. Would love to figure out how to turn it off without having to rebuild all of Julia from source.
Thanks,
p