Skip to content

--path does not interact correctly with relative path arguments #2149

Closed
@cbuttner

Description

@cbuttner

Given the cwd structure

./my_project
./my_libraries

The following command does not work

c3c run --path my_project --libdir ../my_libraries

The problem is that the chdir to --path happens after the arguments have been parsed, but the directories are checked during argument parsing.

If I instead run

c3c run --path my_project --libdir my_libraries

then c3c will look for ./my_project/my_libraries and not find it.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingFixed needs testingNeeds verification / testing that it now works

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions