FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use kill signal's returned value by luke-waymark-addinsight · Pull Request #256 · extrabacon/python-shell · GitHub

Repository navigation

Use kill signal's returned value - #256

Merged
Almenon merged 1 commit into
extrabacon:masterfrom
luke-waymark-addinsight:master
Oct 9, 2021
Merged

Almenon merged 1 commit into
extrabacon:masterfrom
luke-waymark-addinsight:master

Conversation

Copy link
Copy Markdown
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 self-requested a review October 5, 2021 15:52

Almenon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

👍

Almenon commented Oct 9, 2021

Copy link
Copy Markdown
Collaborator

This PR is related to #255

Almenon merged commit fd08776 into extrabacon:master Oct 9, 2021

Almenon commented Oct 9, 2021

Copy link
Copy Markdown
Collaborator

a new version 3.0.1 has been published with this change.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL