Redirect stderr from pod
This commit is contained in:
parent
787c13b304
commit
1915c22ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@
|
||||||
([ctx pod-spec _opts]
|
([ctx pod-spec _opts]
|
||||||
(let [pod-spec (if (string? pod-spec) [pod-spec] pod-spec)
|
(let [pod-spec (if (string? pod-spec) [pod-spec] pod-spec)
|
||||||
pb (ProcessBuilder. ^java.util.List pod-spec)
|
pb (ProcessBuilder. ^java.util.List pod-spec)
|
||||||
_ (.redirectErrorStream pb true)
|
_ (.redirectError pb java.lang.ProcessBuilder$Redirect/INHERIT)
|
||||||
p (.start pb)
|
p (.start pb)
|
||||||
stdin (.getOutputStream p)
|
stdin (.getOutputStream p)
|
||||||
stdout (.getInputStream p)
|
stdout (.getInputStream p)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue