Fork me on GitHub

Hey, I don’t know if it’s coming from babashka or conjure but it seems that I am not always seeing stuff getting printed to the stderr when using conjure with bb for example

(println "Hello, STDOUT!")

(binding [*out* *err*]
  (println "Hello, STDERR!"))
gives me the following output in the output buffer
; --------------------------------------------------------------------------------
; eval (current-form): (println "Hello, STDOUT!")
; (out) Hello, STDOUT!
; --------------------------------------------------------------------------------
; eval (current-form): (binding [*out* *err*] (println "Hello, S...
(I do see both in my nrepl terminal tab that I started with bb --nrepl-server)


it does work for me with a normal clojure repl though


Might be an issue with babashka.nrepl, if it works with a normal JVM nREPL


Yeah I've found that BB just works differently in this way, I was personally okay with it since you might need your script to maintain stdio streams even when nREPLing. Maybe bb could write to stdio and send nREPL messages though.