Skip to content
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

Live output / flush #33

Open
amenk opened this issue Jul 22, 2017 · 8 comments
Open

Live output / flush #33

amenk opened this issue Jul 22, 2017 · 8 comments

Comments

@amenk
Copy link

amenk commented Jul 22, 2017

For longer running commands, such as wget or pv with progress indication, is it possible to flush output and make it visible to the webbrowser while running?

@msoap
Copy link
Owner

msoap commented Jul 23, 2017

In the current code base this is difficult to implement. Refactoring required.

for me: can be use os/exec.StderrPipe()/StdoutPipe() instead of CombinedOutput()

@alanmilinovic
Copy link

That would be definitely a benefit, is it planned for the future or no chance?

@msoap
Copy link
Owner

msoap commented Mar 30, 2019

Planned but unfortunately not quickly.

@alexandrefelipemuller
Copy link

Just commenting here to follow this thread.. interested on this implementation

@thebiblelover7
Copy link

@msoap Do you think you'll ever get to this (It's been 5 years already)? And if not, do you have any other project suggestion that may have this working?

@msoap
Copy link
Owner

msoap commented Jun 21, 2022

@thebiblelover7 unfortunately, not yet

do you have any other project suggestion that may have this working?

it depends on your task, but maybe it will help you https://github.com/joewalnes/websocketd

@thebiblelover7
Copy link

@msoap ok, thanks for that suggestion! I'll definitely check that out!

Also, thanks for this awesome project, I'm really putting some good use to it!

@goncalo-oliveira
Copy link

This would definitely be a great addition. I'll just add that although this could be combined with the -timeout argument, it could be that we need a different timeout on these requests, since they are, well... longer...

I would also suggest you to set up sponsorship. This is a really helpful project and would certainly benefit from some love.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants