Le 26 janv. 08 à 14:41, Brad Miller a écrit :
os.popen4 executes the command as a subprocess and returns a pipes to standard in / standard out/error These pipes are used to parse the output from latex.
As an experiment you could try os.system("pdflatex --shell-escape - interaction=nonstopmode -file-line-error-style"+" " +"/Users/ego/ Desktop/try/trytablor.tex")
This will run the command in a subshell, but will not return pipes for parsing. I don't think it should make any difference but who knows. I really cannot explain why this is not working for you but I know nothing about the intricacies of metapost and even less about giac.
I try
os.system(ltxcmd+" "+shell_quote(texfile)) texin,tex = os.popen4(ltxcmd+" "+shell_quote(texfile))
The first command creates the .pdf files but after popen4 the file is removed !
Regards Alain