dotenv-cli icon indicating copy to clipboard operation
dotenv-cli copied to clipboard

Dotenv-cli removes output colors

Open nohehf opened this issue 2 years ago • 1 comments

When using dotenv -- <some_command>, if some command has colored output, dotenv will remove it.

I guess that the issue exists because of cross-spawn that is used to spawn the sub-process. I'm wondering if in 2023 node:child_process still has issues with windows (which is, I believe, the reason you used cross-spawn in the first place.

nohehf avatar Jun 13 '23 14:06 nohehf

Feel free to file a PR that fixes it. I don't have access to a windows machine so I cannot test it though.

entropitor avatar Mar 07 '24 16:03 entropitor

Given there hasn't been an update, I'm gonna close this

entropitor avatar May 13 '25 19:05 entropitor