Skip to content

htmlq 0.4.0: code: 32, kind: BrokenPipe, message: "Broken pipe" #73

Description

@emmanuelrosa

I get a "broken pipe" error when piping the output of htmlq to a command which doesn't allow htmlq to finish, such as head:

RUST_BACKTRACE=1 curl --silent https://nixos.org | htmlq -a href a | head -n 1
/
thread 'main' panicked at src/main.rs:90:69:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions