Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

feature: handle command arguments with spaces #339

@erezrokah

Description

@erezrokah

Which problem is this feature request solving?

At the moment we return a dev/build command as a single string, e.g. npm run <some-script>.
This might cause issues if <some-script> contains spaces.
We should support this use case.

Related to netlify/cli#2857 (comment)

Describe the solution you'd like

Handle spaces in command arguments, via quoting the arguments or escaping the spaces.

Describe alternatives you've considered

N/A

Can you submit a pull request?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurecode contributing to the implementation of a feature and/or user facing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions