jaraco / jaraco/cmdix

env.invoke tests fail on Windows

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Tests on windows that cause `cmdix.command.env.invoke` to be invoked are failing on Windows when backslashes in the command path appear to have been lost.

For example, here are the Popen args for failing test_command_opts:

```
args = 'D:acmdixcmdix.toxpyScriptspython.EXE --help', executable = None
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with cmdix.command.env.invoke and the failing test_command_opts test, then reproduce it on Windows to inspect the Popen arguments. Done means command paths retain their backslashes and the affected tests pass on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.