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.
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 2023node:child_process
still has issues with windows (which is, I believe, the reason you usedcross-spawn
in the first place.