No description
Find a file
Claude b0c2893ad7
Parameterize runcmd to support commands beyond storeall
runcmd was hardcoded to the storeall command/status-file pair. Generalizing
it now so finishcalls and dumpregistry (planned server-side additions) can
reuse the same commands.txt/status.<cmd>.$pid polling handshake instead of
needing near-duplicate copies of the function.

Signature changed from `runcmd <resultvar>` to `runcmd <resultvar> <command>
[args...]`; updated the two existing call sites (restart.sh, upgrade.sh)
accordingly. Behavior for storeall itself is unchanged - verified the
generated commands.txt line is byte-identical to before.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tj4SF2BGFxgoRYrCAzNpDb
2026-09-29 20:51:47 +00:00
.gitattributes Import existing manual deploy scripts as a starting point 2026-09-29 17:04:18 +00:00
restart.sh Parameterize runcmd to support commands beyond storeall 2026-09-29 20:51:47 +00:00
tomcat_ctl.sh Import existing manual deploy scripts as a starting point 2026-09-29 17:04:18 +00:00
upgrade-cmds.sh Import existing manual deploy scripts as a starting point 2026-09-29 17:04:18 +00:00
upgrade-funs.sh Parameterize runcmd to support commands beyond storeall 2026-09-29 20:51:47 +00:00
upgrade.sh Parameterize runcmd to support commands beyond storeall 2026-09-29 20:51:47 +00:00