3

Python has the Fabric library to perform such actions, does Clojure have options like that ?

NielsK
  • 6,886
  • 1
  • 24
  • 46
Bruno Lee
  • 1,867
  • 16
  • 17
  • "Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – zero323 Oct 21 '13 at 18:59
  • 4
    This question has a defined answer, (Pallet) and it is provided below. This question should be taken off hold so the answers can be improved. – Arthur Ulfeldt Oct 21 '13 at 23:50

1 Answers1

6

You should take a look to stevedore, it's used extensively in pallet.

From the script reference:

(use '[pallet.stevedore :only [script with-script-language]])
(use '[pallet.script :only [with-script-context]])
(require 'pallet.stevedore.bash) ;; for bash output

(with-script-language :pallet.stevedore.bash/bash
  (with-script-context [:ubuntu]
    (script
      ("ls")))
guilespi
  • 4,672
  • 1
  • 15
  • 24