Skip to content

Missing stdout output #129

@sitepodmatt

Description

@sitepodmatt

I think this stackoverflow thread sums it up pretty well as behavior is observed via lein repl (and indirectly via vim-fireplace):
http://stackoverflow.com/questions/20437767/what-happens-to-second-println-statement-clojure-repl?noredirect=1#comment30532207_20437767

Thanks.

Okay so its look like REPL-y tries captures the result of the whole expression first as this prints nothing for 15 seconds
(map (fn [x] Thread/sleep 5000 (println "x") x) [1 2 3])

Should ideally stdout buffer be flushed if an exception occurs like on vanilla clojure repl? Or would this side effect confiict with the idea of printing the result of the expression

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions