Skip to content

100% cpu usage when a nodejs script goes side ways executing a command. #5

@celer

Description

@celer

Hi,

First thanks for writing ShellJS, so we've noticed in our project that somtimes shellJS consumes 100% cpu resources when something goes wrong with exec.

i.e.

exec("mysql -u testUser testDB < test.sql")

will sometimes hang, leaving us with 100% cpu utilization on the shellJS parent process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    execIssues specific to the shell.exec() API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions