concurrently icon indicating copy to clipboard operation
concurrently copied to clipboard

passthrough-arguments leads to trailing slashes in argument key on Windows

Open asimen1 opened this issue 3 years ago • 1 comments

Description: Using -P, --passthrough-arguments leads to trailing slashes in argument key on Windows (and stackblitz.com).

On local Mac doesn't reproduce. If adding only the key without value (e.g. yarn test --key) doesn't reproduce as well.

Expected Behavior: Argument key should not have a trailing slash when specifying argument value.

Environment: concurrently v7.6.0 OS: Windows 10 Node v16.14.2

Reproduction: stackblitz in terminal type: npm run test -- --key=value or yarn test --key=value

See Images attached: image image

asimen1 avatar Dec 27 '22 07:12 asimen1

@paescuj one you might like 😃 I don't remember why exactly we needed shell-quote. It's definitely causing this (it's right here). Was it to support expanding e.g. {@} when already wrapped in quotes?

gustavohenke avatar Dec 27 '22 08:12 gustavohenke