Skip to content

Shell tool should accept list of parameters #519

@hiker

Description

@hiker

When calling a shell using -c, it needs the command and all parameters as a single string (sh -c "nf-config --fflags").

ATM, the shell tool does accept a list of parameters, but will not convert them all into a single string, instead they will be passed on as list, so in the example above it would be ['-c', '-nf-config', '--fflags' ), so --fflags would be a shell parameter, not a parameter to nf-config).

That's easy to work around in an application, but might result in unexpected behaviour.

Additionally, cwd and env could be useful as additional optional parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions