Skip to content

pb {:in "foo"} hangs #110

Description

@dbohdan

I have run into an apparent hang when using pb in babashka on Linux. I can't determine if I am using the interface wrong or if this is a bug. Please advise.

> bb --version
babashka v1.3.176
> bb -e '(-> (babashka.process/process {:in "hi"} "cat") (babashka.process/process "cat") :out slurp)'
"hi"
> bb -e '(-> (babashka.process/pipeline (babashka.process/pb {:in :inherit} "cat") (babashka.process/pb "cat")) last :out slurp)'
^D
""
> bb -e '(-> (babashka.process/pipeline (babashka.process/pb {:in "hi"} "cat") (babashka.process/pb "cat")) last :out slurp)'

This is where babashka seems to wait forever. It does not react to ^D, only ^C.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions