Skip to content

Streaming mode without buffering multiple lines? #302

@mark19142218

Description

@mark19142218

I noticed that all my output gets buffered until the command completes. Example

bash -c "echo STDOUT && echo STDERR 1>&2; sleep 5" | sd -f=e 'a' 'b'

Error is shown immediately, but output only after 5 seconds.

This happens with 0.7.6 and with v1.0.0 - 2023-11-07.

I don't see an option in --help to avoid this.

Possibly related to #96 ?

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