Skip to content

Why do not use Shellwords.join method? #47

@SwagDevOps

Description

@SwagDevOps

@command, @status = cmd.join(' '), status

@command, @status = Shellwords.join(cmd), status

https://ruby-doc.org/stdlib-2.5.0/libdoc/shellwords/rdoc/Shellwords.html#method-c-shelljoin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions