Skip to content

Commit

Permalink
inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 19, 2024
1 parent 976cdf2 commit 826a658
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/babashka/process.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,8 @@
(let [id (swap! counter inc)]
(prn "command" command)
(apply process
{:out-line-fn (fn [line]
{:in :inherit
:out-line-fn (fn [line]
(println (format "[%s]" id) line))
:err-line-fn (fn [line]
(println (format "[%s]" id) line))}
Expand Down

0 comments on commit 826a658

Please sign in to comment.