Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeping the app responsive when piping input on startup #5301

Closed
tabassco opened this issue Nov 27, 2024 · 1 comment
Closed

Keeping the app responsive when piping input on startup #5301

tabassco opened this issue Nov 27, 2024 · 1 comment

Comments

@tabassco
Copy link

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?

Copy link

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

@Textualize Textualize locked and limited conversation to collaborators Nov 27, 2024
@willmcgugan willmcgugan converted this issue into discussion #5302 Nov 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant