Skip to content

Cannot open target that has space. #21

Open
@sudodoki

Description

@sudodoki

Not sure, whether #16 or #18 fix this issue, but when you pass string that has space into child_process#exec at https://github.com/pwnall/node-open/blob/master/lib/open.js#L55 if it has space it will break.
Simple workaround - adding quotes for program as arguments have now too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions