Skip to content

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

Description

@jpa00

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions