8000 Allow multiple string arguments for exec() · Issue #103 · shelljs/shelljs · GitHub
[go: up one dir, main page]

Skip to content
Allow multiple string arguments for exec() #103
@nzakas

Description

@nzakas

I've found that I end up doing a lot of messy string concatenation with exec() commands. It would be nice to allow multiple string arguments that would be joined together with a space, such as:

exec('npm', 'run-script', 'test');   // run "npm run-script test"

This could easily be backwards compatible with the current function since only the first argument is currently a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0