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...
Coverage remained the same at 100.0% when pulling b651051a44e61211a1882f26a393896e28dfa7f7 on paescuj:enhance-passthrough-args into 72ae69ed85141339f2d452dcdbfa5c1d4825b5e0 on open-cli-tools:main.
Correctly quote passthrough arguments by switching from shell-quote to escape-it.
Addresses https://github.com/open-cli-tools/concurrently/pull/307#issuecomment-1139086865.
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 inconcurrently
or create an own external module...ToDo: