[tex-live] shell_escape extension patch

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Wed Jun 14 02:55:46 CEST 2006


Hi,

> This is my fault: because I was writing this for pdftex,
> I never even considered the fact that the file is also used
> for a lot of other programs (besides pdftex).

In the other cases than pdftex, it was necessary to set
fullnameoffile:

fullnameoffile = xstrdup (fname);

just before popen(..., "r") and reset it after the added code

if (fullnameoffile) {
   free (fullnameoffile);
   fullnameoffile = NULL;
}

because maketexstring(fullnameoffile) fails in texmfmp.c.

BTW, on windows' cmd.exe,
perl -e "print sqrt(4)"
is ok, but
perl -e 'print sqrt(4)'
is ng.
Therefore
\input "|perl -e 'print sqrt(4)'"
fails, while
\input "|perl --version"
works.

This may be a limitation of cmd.exe.
Are there any solutions?

Thanks a lot,
Akira


More information about the tex-live mailing list