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

wsrun --bin spawns incorrectly on non-win32 platforms when command includes parameters #100

Open
jpa00 opened this issue Aug 24, 2020 · 0 comments

Comments

@jpa00
Copy link

jpa00 commented Aug 24, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant