-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't working
Description
hiya
composer always prints escape codes when used through tooling, even when stdout isn't a terminal
i believe this is due to always passing --ansi at:
Line 19 in 9c7139c
| cmd: 'composer --ansi', |
escape codes only make sense when printing to a terminal, not when stdout has been redirected to a file or in command substitution. i'm trying to use the output of composer in a shell script and the escape codes are causing havoc
normally you can pass --no-ansi to disable escape codes in situations where it's needed but --ansi apparently always wins over --no-ansi
could this please be removed?
cheers 🙂
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working