Permalink
Browse files

add :redirect-err option to merge :out and :err

  • Loading branch information...
1 parent 3f39810 commit cbfef6233073db7f2603f85eb44aebf4b33547ab @ninjudd ninjudd committed Sep 21, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/conch/core.clj
View
@@ -25,6 +25,8 @@
(when (= :very (:verbose args))
(when-let [env (:env args)] (prn env))
(when-let [dir (:dir args)] (prn dir)))
+ (when (:redirect-err args)
+ (.redirectErrorStream builder true))
(let [process (.start builder)]
{:out (.getInputStream process)
:in (.getOutputStream process)

0 comments on commit cbfef62

Please sign in to comment.