Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

clojure -- how to run a program without piping it's output?

I want to use something like shell-out [ http://richhickey.github.com/clojure-contrib/shell-out-api.html ], but without capturing the any output. Of course the output can be passed to print, but this is slightly less than desirable (e.g. in the case that the subprocess may fail).

edit

Sorry, I want the subprocess to output to the same stdout as the parent process.

like image 697
gatoatigrado Avatar asked Aug 11 '11 07:08

gatoatigrado


1 Answers

Also see this third party library

https://github.com/Raynes/conch

It provides direct access to the streams.

like image 107
Marc Avatar answered Sep 28 '22 08:09

Marc