Skip to content

Conversation

@luke-waymark-addinsight
Copy link
Contributor

On calling kill, set terminated to the result of childProcess.kill().
This is useful as you can try a variety of kill signals by checking this.terminated until it is successfully killed.

I think this is somewhat possible already by listening for an error event for a failed termination, but this method allows you to loop the kill method without relying on an external callback.

@Almenon Almenon self-requested a review October 5, 2021 15:52
Copy link
Collaborator

@Almenon Almenon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Almenon
Copy link
Collaborator

Almenon commented Oct 9, 2021

This PR is related to #255

@Almenon Almenon merged commit fd08776 into extrabacon:master Oct 9, 2021
@Almenon
Copy link
Collaborator

Almenon commented Oct 9, 2021

a new version 3.0.1 has been published with this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants