braveclojure / babooka

https://www.braveclojure.com/quests/babooka/
58 stars 7 forks source link

Babashka's output may not appear on some systems #7

Open egri-nagy opened 1 year ago

egri-nagy commented 1 year ago

In my system (MacOS Ventura on Apple M1 + brew) Babashka's output is not printed. Thus, bb -f script.clj just silently returns the prompt, and not the value of the last expression in the script.

I figured eventually that I needed to add another option bb --prn -f script.clj works fine. Maybe some system-wide default settings somewhere causes this.

The reason why I'm reporting it, as this is in the first chapter and for making the key argument about the coolness of babashka.

borkdude commented 1 year ago

This has changed since v1.1.171

See changelogs. It’s recommended to use explicit printing if you need that.

On Mon, 30 Jan 2023 at 02:02, Attila Egri-Nagy @.***> wrote:

In my system (MacOS Ventura on Apple M1 + brew) Babashka's output is not printed. Thus, bb -f script.clj just silently returns the prompt, and not the value of the last expression in the script.

I figured eventually that I needed to add another option bb --prn -f script.clj works fine. Maybe some system-wide default settings somewhere causes this.

The reason why I'm reporting it, as this is in the first chapter and for making the key argument about the coolness of babashka.

— Reply to this email directly, view it on GitHub https://github.com/braveclojure/babooka/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFSBW7RJ3LZEK55KHC6ZLWU4HKRANCNFSM6AAAAAAUKR5RMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- https://www.michielborkent.nl https://www.eetvoorjeleven.nu