fix: set -euo pipefail for the temp script in execute_command.sh tool

This commit is contained in:
2026-06-03 15:26:23 -06:00
parent 9a25438643
commit 97100bee29
+1 -1
View File
@@ -20,5 +20,5 @@ main() {
trap "rm -f '$script'" EXIT trap "rm -f '$script'" EXIT
# shellcheck disable=SC2154 # shellcheck disable=SC2154
printf '%s\n' "$argc_command" > "$script" printf '%s\n' "$argc_command" > "$script"
bash "$script" >> "$LLM_OUTPUT" bash -e -o pipefail "$script" >> "$LLM_OUTPUT"
} }