Browse files

Send EOF after sending to :in.

  • Loading branch information...
Raynes committed Sep 29, 2012
1 parent 24ea358 commit 9ab0e9ef199d48c27ab82af6e51829a37cf43e67
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/conch/sh.clj
@@ -107,7 +107,9 @@
exit-code (future (if timeout
(conch/exit-code proc timeout)
(conch/exit-code proc)))]
- (when in (conch/feed-from-string proc (:in proc))) ;; This will become more sophisticated.
+ (when in
+ (conch/feed-from-string proc (:in options)) ;; This will become more sophisticated.
+ (conch/done proc))
(let [proc-out (redirect out options :out proc)
proc-err (redirect err options :err proc)]

0 comments on commit 9ab0e9e

Please sign in to comment.