At the moment it is needed to remove colored output from the shell with something like this: echo command | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g"