> >Q: How do I make perl run programs in a given directory? > > system("cd /path/to/latex/files; latex filename.tex"); > > Quick and dirty.
Well, mostly good - at least tex is running (before it wouldn't even run). Now, I need to run this from a cgi script on a webpage (basically, I'm hoping to generate dvi and ps files as they are needed). So, what now happens is that all the output from running tex is displayed on the webpage. How do I redirect the output from this to /dev/null ? (So, I still want it to create a .dvi file, but I want all the tex debugging info to not be displayed). I tried running system("cd /path/to/latex/files; latex filename.tex > /dev/null"); and that didn't work. Thanks for any help, blake _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list