From: Nicholas N. <nj...@ca...> - 2003-03-31 07:50:00
|
On Mon, 31 Mar 2003, Olly Betts wrote: > A third possibility I've just thought of is to use: > > valgrind --logfile-fd=-1 /dev/null [program and args] > > (Or redirect to a particular fd and direct that to /dev/null but then > that fd might be used by something - -1 is nice as it always works...) That seems a good way to do it, since it doesn't require any changes. Is -1 the file descriptor for /dev/null, or is it just an invalid file descriptor and thus the output goes nowhere? I just tried it, you don't need to write /dev/null in the command line as you have above. N |