shell2http
shell2http copied to clipboard
Live output / flush
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?
In the current code base this is difficult to implement. Refactoring required.
for me: can be use os/exec.StderrPipe()/StdoutPipe() instead of CombinedOutput()
That would be definitely a benefit, is it planned for the future or no chance?
Planned but unfortunately not quickly.
Just commenting here to follow this thread.. interested on this implementation
@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?
@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
@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!
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.