10 lines
250 B
Clojure
10 lines
250 B
Clojure
(ns user
|
|
(:require [babashka.process :as p]
|
|
[clojure.string :as str]))
|
|
|
|
(defn bash [& args]
|
|
;; (prn :cmd *command-line-args*)
|
|
(-> (p/process ["bash" "-c" (str/join " " args)]
|
|
{:inherit true})
|
|
p/check)
|
|
nil)
|