I wanted to have colored log outputs in my terminal. Therefore, I am using a custom formatter in my logger like in the answer https://stackoverflow.com/a/56944256/9474997.
However, the coloring stops after running external command in command prompt in python using subprocess.run command. Here is the screenshot of the coloring scheme change in the Windows terminal. Currently I am using Python3.9 version.
Any ideas about how I can get colored output after subprocess.run operations in Windows terminal?