Skip to content

Commit b819459

Browse files
committed
Don't redirect Lein error stream
Somewhere in the last 10 years, Lein has started warning about the $CLASSPATH environment variable being set. If we redirect stderr into stdout, that warning will be the first item in the process output, rather than the classpath we're looking for.
1 parent 4c48e2d commit b819459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clooj/repl/lein.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
[project-path cmd]
6666
(->
6767
(doto (ProcessBuilder. ["lein" cmd])
68-
(.redirectErrorStream true)
68+
(.redirectErrorStream false)
6969
(.directory (io/file (or project-path "."))))
7070
.start))
7171

0 commit comments

Comments
 (0)