aboutsummaryrefslogtreecommitdiffstats
path: root/tools/execute_command.sh
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2026-04-10 20:50:32 +0200
committerLeonard Kugis <leonard@kug.is>2026-04-10 20:50:32 +0200
commit4998bb433b9c7baa88e3e3d3e843c0ccbbef9f95 (patch)
tree57464577e5c6bac4b04c8dcb918bb72e558eadc4 /tools/execute_command.sh
parent204d82d3d5b67c0b0aacf4193540e1c3c2eb95f1 (diff)
downloadllm-functions-docker-4998bb433b9c7baa88e3e3d3e843c0ccbbef9f95.tar.gz
Refined dev roleHEADmain
Now it uses wrapped tool scripts instead of raw bash commands. Together with JSON function mapping this enables better use-case fitting and less errors in tool usage (e.g. partial file writes with out-of-context deletions).
Diffstat (limited to 'tools/execute_command.sh')
-rwxr-xr-xtools/execute_command.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/execute_command.sh b/tools/execute_command.sh
index b98aa55..c6504bf 100755
--- a/tools/execute_command.sh
+++ b/tools/execute_command.sh
@@ -68,7 +68,7 @@ main() {
# Run command (do not let failures exit the tool)
set +e
- bash -lc "$cmd" >"$out_file" 2>"$err_file"
+ : | bash -lc "$cmd" >"$out_file" 2>"$err_file"
rc=$?
set -e