Skip to content

Add std_run command runner API - #29

Merged
codeforester merged 1 commit into
masterfrom
enhancement/15-20260618-command-runner-api
Jun 18, 2026
Merged

codeforester merged 1 commit into
masterfrom
enhancement/15-20260618-command-runner-api

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add std_run as the preferred command-runner API.
  • Keep run as a compatibility wrapper for existing callers.
  • Update docs, examples, and stdlib tests to prefer std_run.

Validation

  • RED: bats --filter "std_run is the preferred" lib/bash/std/tests/lib_std.bats failed before the fix because std_run was missing.
  • GREEN: bats --filter "std_run is the preferred" lib/bash/std/tests/lib_std.bats passed after the fix.
  • bats --filter "(std_run|run compatibility)" lib/bash/std/tests/lib_std.bats
  • bats lib/bash/std/tests/lib_std.bats
  • shellcheck --severity=error lib/bash/std/lib_std.sh lib/bash/std/tests/lib_std.bats examples/std-usage.sh
  • ./tests/validate.sh
  • git diff --check

Fixes #15

@codeforester
codeforester merged commit fb05aea into master Jun 18, 2026
2 checks passed
@codeforester
codeforester deleted the enhancement/15-20260618-command-runner-api branch June 18, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide a collision-resistant command runner API

1 participant