-
Notifications
You must be signed in to change notification settings - Fork 93
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
lualatex/xelatex: handling of stderr
when using pipes
#648
Comments
I would recommend that you fix the expectations. Because
So the table must look like this:
|
stderr
when using pipesstderr
when using pipes
stderr
when using pipesstderr
when using pipes
As well as Linux does. My expectations came from the behavior of TeX Live where |
Many thanks! |
Thank you, this has been fixed. Please get the latest updates. |
Works like expected. Thanks again! |
Hi,
some context first. I am the developer of the LaTeX package
svg
which uses Inkscape CLI for automated conversion and import of SVG graphics into LaTeX documents. As Inkscape changed it's CLI from 0.9x to 1.0 I was encouraged to build an automatic version detection. Therefore I callinkscape -V
during a LaTeX run through a pipe in order to read the returned string.I recently discovered a problem reading from a pipe when both
stdout
andstderr
are involved. This issue actually emerged as Inkscape v1.0.1 CLI currently usesstdout
andstderr
when returninginkscape -V
. I already reported this issue.However, I wanted to remark that MiKTeX has problems with handling
stderr
when reading pipes. First the MWEThe macro
\pipenormal
reads through a pipe and should expand to the message ofstdout
whereas\piperedirect
redirectsstderr
tostdout
and should expand to both messages. I checked this with TeX Live and it works as intended with all different formats (pdflatex, lualatex, xelatex). By contrast, MiKTeX generates different results for all three formats. Those are:The text was updated successfully, but these errors were encountered: