On Wed, Jan 28, 2009 at 4:37 PM, Perry Trolard <trol...@gmail.com> wrote: > > I'd sometimes like to have the exit status from system commands, so I > patched clojure.contrib.shell-out to accept a :verbose option which, > when turned on, returns a map with :exit, :out, & :err (where :exit's > value is the exit code int, & :out & :err name either byte arrays or > strings).
Sounds good. Is ':verbose' the base name for this option? What about ':return-map'? I'm okay with ':verbose' if we can't reach consensus on something else. > Anyone else have an interest in such a feature? In particular, would > the option be handy for lancet? > > The modified sh function is below for reference, but I'll submit an > issue & patch to contrib if invited to. Please do. --Chouser --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---