I have a number of command line scripts in PHP that use exec() to perform tasks such as restarting services, loading MySQL timezone files, etc. While exec() itself does not
According to http://us3.php.net/manual/en/function.shell-exec.php you can assign this command's output to a variable.
You don't necessarily have to do anything with the variable, which means you are effectively suppressing output.
Hope that helps!