On Wed, Oct 31, 2001 at 06:38:33PM +1100, Michael Lake wrote: > Mike Lake wrote: > > I can't work out why a cgi script which fires off latex to process a > > file in /tmp does not seem to be able to write the dvi file or its log > > file. The application creates a file called 192.168.1.4.tex fine. > > But latex won't run on it from the cgi script.
A followup. I found my problem. 1. I was not in the right directory. 2. The file handle of the file I was trying to run latex on was still open from when I had created it. I just had to rearrange the code to close the file handle THEN run latex on it. Silly bug :-) Mike -- The universe is an island, surrounded by whatever it is that surrounds universes. Michael Lake, University of Technology, Sydney Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 Home: http://www.speleonics.com.au Linux enthusiast, active caver and interested in anything technical. *************************************** -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug