Skip to content

Piping to head produces BrokenPipeError #114

@danielhoherd

Description

@danielhoherd

Problem Description

When piping output to head, the program exits with BrokenPipeError.

Proposed solution

The python docs explain how to handle this situation, and it is quite an easy fix. https://docs.python.org/3/library/signal.html#note-on-sigpipe

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