I'm writing an installer that runs several Composer commands. I want to suppress informational messages, such as "composer.json has been updated", but not error messages.
Currently, Composer prints everything to STDOUT, so the following will suppress everything:
composer update > /dev/null
Same problem with the --quiet flag.