in reply to latex

A Q&D solution would be to make a shell script, and put latex file.tex < /dev/null' in the shell script? By specifying the shell on the shebang line, wouldn't you be in effect running latex from the shell?