Skip to content

Tokenizer treats . as a separator when parsing a parameter token, which causes problem to argument parsing for native commands #15541

@delanym

Description

@delanym

I use powershell to run build commands like
mvn --% install -Dmaven.test.skip -Dmaven.repo.local=.m2/repository -Dbuild.deployAtEnd=true -Dgib.disable

I NEVER expect the dot to act like a property selection operator. I don't want to have to quote every time I use a dot, and I'd rather not have to specify --% for every command.

Is it reasonable to expect a setting in pwsh.runtimeconfig.json to disable parsing of command arguments? Call it dumb mode or whatever.

I see other people are also doing strange things to work around this https://stackoverflow.com/questions/18923315/using-in-powershell

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions