From 9fd2c9b0a0d3f92824d8a3619a18bfe211728eb3 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Wed, 3 Jun 2026 15:26:23 -0600 Subject: [PATCH] fix: set -euo pipefail for the temp script in execute_command.sh tool --- assets/functions/tools/execute_command.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/functions/tools/execute_command.sh b/assets/functions/tools/execute_command.sh index 0c6383b..4105a85 100755 --- a/assets/functions/tools/execute_command.sh +++ b/assets/functions/tools/execute_command.sh @@ -20,5 +20,5 @@ main() { trap "rm -f '$script'" EXIT # shellcheck disable=SC2154 printf '%s\n' "$argc_command" > "$script" - bash "$script" >> "$LLM_OUTPUT" + bash -e -o pipefail "$script" >> "$LLM_OUTPUT" }