wsrun --bin spawns incorrectly on non-win32 platforms when command includes parameters
Open
- Dominant language
- TypeScript
- Stars
- 512
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
So, it looks like I need to use --bin "yarn --silent" to prevent the return values (error codes) from --if from getting reported as errors on the console. This works just fine on Windows, but fails at least on ubuntu and mac, since the spawn does not split the command's arguments for --bin. So spawn ends up looking trying to run "yarn --silent" as a command, when "--silent" whould be a parameter for "yarn". The contents of --if are split correctly.
Would cross-spawn be problematic as a dependency?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.