Error invoking `latex \\nonstopmode \\input simple.tex 2>&1 1>& /dev/null '. Return value 512Error invoking `dvips -t a4 -u+ec-mftrace.map -u+lilypond.map -Ppdf simple 2>&1 1>& /dev/null '. Return value 512
Ah wait, the shell is struggling with the redirection syntax.
are there any unix gurus that know the correct syntax for redirecting all output to /dev/null?
Others have given you the correct syntax - "> /dev/null 2>&1". Apart from your extra &, what you've done is redirect stderr to stdout, then redirect stdout to /dev/null. And it hasn't worked because stderr and stdout (even though they may be pointing at the same place) are *always* different pointers. iirc stdin is fp1, stdout is fp2, and stderr is fp3. So what you did is copy the contents of fp2 (the terminal) to fp3, *then* replaced fp2 with a pointer to /dev/null. Oops. The order in which you do things is important (and yes, the reason I know this is because it's bitten me, too :-)
Cheers, Wol -- Anthony W. Youngman - wol at thewolery dot demon dot co dot uk HEX wondered how much he should tell the Wizards. He felt it would not be a good idea to burden them with too much input. Hex always thought of his reports as Lies-to-People. The Science of Discworld : (c) Terry Pratchett 1999
_______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
