Skip to content

createProcess function is can't exec a *.cmd or *.bat file #140

Closed
@taiju

Description

@taiju

-- Sorry, I'm poor English.

createProcess function is can't exec a *.cmd or *.bat file.

I can exec foo command when foo.cmd is placed of system environment variable paths. However, createProcess function is can't exec foo. (foo.cmd too)

It catch an error that error message is does not exist (No such file or directory).

reproduction screenshot

ps

about this problem

This is not usually a problem. However, It may be a problem. For example, some of the commands built by NodeJS (with NPM) are wrapped with .cmd file.

Concretely, I'm facing this problem at here.

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