Visitar URL original
The command itself is not properly escaped · Issue #150 · moxystudio/node-cross-spawn · GitHub
Skip to content

The command itself is not properly escaped #150

Open

Description

@mnpenner

This shouldn't "work":

❯ node.exe
> crossSpawn = require('cross-spawn')
> crossSpawn('echo foo bar',[],{stdio:'inherit'})
foo bar

echo foo bar should be treated in its entirety as the name of the command. It's not being escaped.

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