josera has asked for the wisdom of the Perl Monks concerning the following question:
system ("./lib/texmf/miktex/bin/pdflatex $outputfile.tex")
all is ok, and i obtain my file $outputfile.pdf, but i think that itsn't elegant to show in the standard output, so i change the call, changing the standard output (or the standard error), to
system ("./lib/texmf/miktex/bin/pdflatex $outputfile.tex > $outputfile +.2.log")
or
system ("./lib/texmf/miktex/bin/pdflatex $outputfile.tex >? $outputfil +e.2.log")
but then my program says:
"'.' is not recognized as an internal or external command, operable program or batch file."
What's the problem? Why doesn't it work?
I've got a paar question more about system, when the program invoked finish, my program takes the control again. Doesn't it? Can the program invoked not to finish good and be a "zombi" in the system and not finish?
Can someone help me? Thank you.
Yours, sincerely
José Ramón Martínez
Edit g0n - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pdflatex and system
by holli (Abbot) on Aug 23, 2005 at 09:21 UTC | |
|
Re: pdflatex and system
by jeteve (Pilgrim) on Aug 23, 2005 at 09:35 UTC |