Manuel Pégourié-Gonnard wrote:
Hans Hagen scripsit (02.09.2008 10:09)
can you try the table call, like in
os.exec({"c:\\Program Files\\Adobe\\Reader 9.0\\Reader\\acrord32.exe","e:/tmp/oeps.pdf"})
I did try the table call (that's actually the form used in the original script where the problem first appeared).
here both spawn and exec seem to work ok
Do you mean you tried the above example with Adobe Reader 9 on windows and AR did not crash? Here (win XP SP2, AR9, LuaTeX 0.25.4 from TL'08) it crashes, and the original scripts from which I extracted the minimal demo above have been reported to crash on: - Vista + Adobe Acrobat pro 9 (TL'08) - Unkown windows (I can ask) + Adobe Reader 8.1 (TL'08) (dump available)
i tried your script on vista (ultimate, sp 2) and had no crash; actually acrobat didn't start unless i provide the full path os.exec({"c:\\Program Files\\Adobe\\Reader 9.0\\Reader\\acrord32.exe","e:/tmp/oeps.pdf"}) opens the file but with an acrobat message (file not found while the file is opened anyway) so the problems you report might be with acrobat Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------