-
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
bug: batch export should wait for pandoc #6
Comments
Thank you for the report. For other reasons I already wanted to add synchronous processing without tempfiles (write from a buffer to pandoc on its STDIN and possibly read from its STDOUT), and was going to make this an customisation option. |
Aside: typically |
Hi @a-fent , I am having the same issue for batch export. While the |
Minye Zhang ***@***.***> writes:
Hi @a-fent , I am having the same issue for batch export. While the
`sleep-for` workaround from @pank works for me, it would be really
appreciated to have the synchronous process of running pandoc.
Feel free to submit a PR.
I am also wondering if there is a way in Emacs to check whether its
async processes have finished. If so, it would be better than
`sleep-for` IMHO. Thank you.
`process-status'.
…--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
|
Hi,
Consider this example
pandoc
is called viastart-process
(i.e. asyncroniously). So Emacs isn't waiting for it and the process gets killed immediately because Emacs is done. So Emacs needs to wait for process to end.I guess an easy fix would be to call
pandoc
"syncroniously" whennoninteractive
isnon-nil
. Otherwise, it should check that the process is done.Thanks,
Rasmus
The text was updated successfully, but these errors were encountered: