Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly quote passthrough arguments #355

Closed
wants to merge 2 commits into from
Closed

Correctly quote passthrough arguments #355

wants to merge 2 commits into from

Conversation

paescuj
Copy link
Collaborator

@paescuj paescuj commented Aug 11, 2022

Correctly quote passthrough arguments by switching from shell-quote to escape-it.

Addresses #307 (comment).

This is required since the arguments needs to be quoted / escaped differently depending on the platform, something which is not supported by shell-quote. Additionally, shell-quote seems to escape unnecessary things.

Potential breaking change, in a positive meaning since it was not working correctly before (for example in case of the referenced comment)!

Note: Unfortunately, escape-it doesn't seem to be maintained anymore, so we might want to either include this directly in concurrently or create an own external module...

ToDo:

  • Add more quoting / escaping tests

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling b651051 on paescuj:enhance-passthrough-args into 72ae69e on open-cli-tools:main.

@paescuj paescuj closed this by deleting the head repository Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants