Skip to content

Error output printed to STDOUT instead of STDERR #1905

@scribu

Description

@scribu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions