Skip to content

Forward finite stdin to the first pipeline process - #187

Closed
Sinkleberg wants to merge 1 commit into
babashka:masterfrom
Sinkleberg:codex/pipeline-finite-stdin
Closed

Sinkleberg wants to merge 1 commit into
babashka:masterfrom
Sinkleberg:codex/pipeline-finite-stdin

Conversation

@Sinkleberg

Copy link
Copy Markdown

Fixes #110. A pipeline now sends finite input to its first process and closes stdin when the copy finishes. The two-cat example in the issue can then exit normally.

Added tests for strings, bytes, streams, empty input, and file redirects. The Babashka suite and all four JVM Clojure suites passed on Linux. Prepared and tested with Codex.

@borkdude borkdude closed this Nov 9, 2026
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.

pb {:in "foo"} hangs

2 participants