Skip to content

How to send SIGINT signal to child process launched with exec #518

@aalexgabi

Description

@aalexgabi

I have something like this and I would like to kill child process with given signal:

shelljs.exec('istanbul my-daemon', {async: true});

// Tests here

// Once tests done send SIGINT to the child process

Is there a way to do this with ShellJS instead of native spawn?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions