-
Notifications
You must be signed in to change notification settings - Fork 13
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
Feature request: stream the subprocess' stdout and stderr while it's running #31
Comments
Thanks for filing, yes I'd like to implement this (for both stdout and stderr), similar to what I think this is fairly straightforward to implement, but it involves spawning new threads to process stdout/stderr manaully and I've just avoided pulling it together :) I'll try to take a swing at it in the next few weeks, but if you or anyone else is interested in sending a PR it shouldn't be too much work. |
Ah, I see. Unfortunately, Rust isn't my main language (although I can read the code). Otherwise you'd have a PR in notime. As I see it, this together with a couple of more extra api's like "has" (to check if the value already exists) + "stats" with information about remaining ttl etc ...+ the ability to create a unique key instad of hashing the input ....would make me throw out almost all my current caching needs entirely! 🥰 |
You might be interested in #24 and #19 as well in that case. Would you mind starting a discussion thread with more details about how you might use |
Hi, sorry for late response. Fever got in the way. I'll come back with other details of how I'm using bkt - but in the memo helper it's obvious that I need to use some "hacks" to acchieve:
|
Thanks the the thoughts! I moved them to a separate thread so it's easier to discuss further. For invalidation specifically you can also weigh in on #5. |
@dimo414 I did a quick test with just a minor script like:
....works perfect! This is really really great stuff 👍 |
Hi!
Really useful cli tool. I use this mostly for downloading large files in a cronjob.
Something that I'm currently lacking is a strategy for streaming the progress to stdout. Both in interactive and in CI-scripts.
What are your thoughts about this?
The text was updated successfully, but these errors were encountered: