-
Notifications
You must be signed in to change notification settings - Fork 32
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
View output of process before it finishes #13
Comments
I'd love to have this, too. Unfortunately, I can't think of a straightforward way to implement it. I'm actually not even sure how to do this without ob-async. I think we would first need to ensure that stdout of any subprocess launched by Maybe I'm making it harder than it needs to be - open to ideas if anyone wants to take this on. |
Or maybe we should explore a thread-based approach (available in Emacs 26) instead of using emacs-async. See this comment for details. |
@astahlman Maybe there is a simple way to do with this tee. See http://man7.org/linux/man-pages/man1/tee.1.html ; it is available on Windows as well (there might be ways to do this natively on Windows as well). |
@astahlman I was wondering did you try using |
Hey @ibizaman, I didn't try it myself but I'd be interested to hear the results of your monkey-patching experiment. |
This exists, for prior art: https://github.com/whacked/ob-shstream/blob/master/ob-shstream.el |
Is it possible to view the output of the process that is being executed by ob-sync while it is still running? I would like to see at which point of the execution my program is, since it prints progress on the standard output, but I've found no mention of this in the readme. As a possible approach, redirecting the output of the program to a temporary buffer would be fine!
Thanks for the great work!
The text was updated successfully, but these errors were encountered: