Skip to content

add shell command support to InOut - #14

Merged
perNyfelt merged 2 commits into
mainfrom
agent/shell-command-support
Aug 4, 2026
Merged

add shell command support to InOut#14
perNyfelt merged 2 commits into
mainfrom
agent/shell-command-support

Conversation

@perNyfelt

Copy link
Copy Markdown
Member

What changed

  • Add sh() for concise shell execution returning captured stdout.
  • Add shell() and ShellResult for stdout, stderr, exit-code, and success handling.
  • Execute commands through the platform shell with concurrent output draining and live streaming.
  • Add coverage for exit status, stderr, streaming, globbing, pipelines, and redirects.
  • Document usage, platform behavior, and shell-injection precautions.

Validation

  • ./gradlew test
  • git diff --check

The PR is ready for review.

@perNyfelt
perNyfelt merged commit e7d623c into main Aug 4, 2026
2 checks passed
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.

1 participant