-
-
Notifications
You must be signed in to change notification settings - Fork 449
Closed
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I use the command pdm config python.install_root $(uv python dir)
in a Windows terminal, it writes a path containing ANSI color codes.
The uv python dir
command produces abnormal output in Windows.
To be compatible with different systems, I think we need to use pdm config python.install_root $(uv python dir --color never)
.
Line 18 in 98be402
pdm config python.install_root $(uv python dir) |
To reproduce
This command is executed under Windows python.install_root $(uv python dir)
Expected Behavior
python.install_root $(uv python dir --color never).
Environment Information
PDM version: 2.25.5
os_name: Windows11
Verbose Command Output
No response
Additional Context
No response
Are you willing to submit a PR to fix this bug?
- Yes, I would like to submit a PR.
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working