Skip to content

Conversation

phlptp
Copy link
Collaborator

@phlptp phlptp commented Jun 17, 2021

On the single string parser, it did not correctly detect program names with embedded spaces if they were not an actual program file. If an actual file was not detected it just used the first argument, but didn't account that it may be enclosed in quotes.
This PR allows the use of quotes to enclose a program name.

Fixes #591

@phlptp phlptp added the bug label Jun 17, 2021
@phlptp phlptp requested a review from henryiii June 17, 2021 23:45
@henryiii henryiii merged commit 75f2d77 into CLIUtils:master Jun 21, 2021
@henryiii henryiii deleted the parse_program_with_space branch June 21, 2021 16:16
@github-actions github-actions bot added the needs changelog Hasn't been added to the changelog yet label Jun 21, 2021
@henryiii henryiii added this to the v2.0 milestone Jun 24, 2021
@henryiii henryiii removed the needs changelog Hasn't been added to the changelog yet label Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App::parse() and quote-enclosed executable paths containing spaces
2 participants