-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add support for streaming cli output? #7
Comments
fwiw, simply printing stdout at tail end of subprocess call appears to work fine. Streaming output would be most useful to avoid excessive memory usage and delayed CLI feedback when uploading very large files and/or a large number of files (on the order of hundreds or thousands). |
We agreed to hold off on implementation for now since it's a "nice-to-have". Bumping to |
Started to refresh my memory on
where Doesn't seem ideal, though, and doesn't play as nicely with The "right" way to do it probably is going to involve |
+1 Yep, I had kicked around some Popen implementations as well on first pass, but punted until we had time to vet solutions more thoroughly. We can include |
Refactor the
S3
wrapper class to return real-time/streaming output from the CLI process rather than returning all output at tail of end processing. Will need to switch fromsubprocess.check_output
to a custom use ofPopen
, likely with polling etc.The text was updated successfully, but these errors were encountered: