Skip to content

Spawn NOENT on windows #4

@pflannery

Description

@pflannery

Because node on windows needs to specify the .cmd extension when were using spawn then commands like chainy install common fail with spawn NOENT during lines like this

if we parsed all chainy-plugin-exec command lines (windows only) with a regexp that extends the first word to include .cmd then maybe we can work around with minimal fuss.

@balupton something similar to this?

command = command.replace(/^([\\\/.:\w\-]+)/ig, "$&.cmd");

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