Skip to content

Keeping the app responsive when piping input on startup #5301

@tabassco

Description

@tabassco

I already have a functioning app, that can read data from file. To fit the workflow better I'd like to be able to pipe data into the app. Reading from stdin before starting the app stops the call from being interactive.

Changing from:

python app.py foo.log

To:

cat foo.log | grep bar | python app.py

I have tried around a bit and it would still be possible to read directly from dev/tty. Maybe we can adjust the input driver for this case?

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