[tex-live] external program calls
zdenek.wagner at gmail.com
Thu Mar 10 10:20:25 CET 2011
2011/3/10 Michael Niedermair <m.g.n at gmx.de>:
> I wrote some Apache-Ant-Tasks in Java which call latex, pdflatex, ...
> (TeXLive 2010).
> I developped this tasks with linux and the call of latex, pdflatex, ...
> works fine. All environment variables (TEXMFHOME, TEXINPUTS, ...) are passed
> to the external programs.
> With Windows XP it works fine too, but with Windows 7 I have some problems.
> It seems, that W7 retaines another way, if the external program is installed
> under C:\Programme or elsewhere , if a 64-bit program calls a 32-bit
> programm or if it depends on the users rights.
> Some environment variables are not passed to the external programm or it
> seems, that the external programm runs in a completely new environment.
I have always used the <exec> task. You can look into its source to
find how it is done. Previously I worked on OS/2, now I work on Linux,
some OS/2 code in <exec> was supplied by me. I have no programming
experience with Windows.
> Has anyone a hint for me, to solve this problem?
More information about the tex-live