From d0294983497706bb0d1d852eee7f165b0ceb3b01 Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Tue, 14 Jan 2025 21:51:35 -0700 Subject: [PATCH] fix: java.sh -> babashka.process/shell Previously, the rebuild command would not report to stdout/stderr. --- scripts/sydnix-cli/src/sydnix_cli/commands/rebuild.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sydnix-cli/src/sydnix_cli/commands/rebuild.clj b/scripts/sydnix-cli/src/sydnix_cli/commands/rebuild.clj index 12891ec..e8be7b3 100644 --- a/scripts/sydnix-cli/src/sydnix_cli/commands/rebuild.clj +++ b/scripts/sydnix-cli/src/sydnix_cli/commands/rebuild.clj @@ -1,6 +1,6 @@ (ns sydnix-cli.commands.rebuild (:require - [clojure.java.shell :refer [sh]] + [babashka.process :as p] [sydnix-cli.commands.help :refer [adorn-with-help-option*]])) (def command-options-spec @@ -16,7 +16,7 @@ (or args ["switch"]) ["--flake" (:flake opts)])] (apply println "$" rebuild-cmd) - (apply sh rebuild-cmd))) + (apply p/shell {:continue true} rebuild-cmd))) (def commands [{:cmds ["rebuild"]