-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: do not throw if child process no longer exist #108
Conversation
child process kill wrapped in try catch Fixes bahmutov#46
@mucsi96 thank you for submitting this feature, is there are any chance a test could be added, something similar to "demo" scripts? |
Sure. Probably with mocking I can do that. Will add it Today. Also I am wandering do we want to explicitly ignore this error type. Or it’s fine like this? |
Or you could have a serve that immediately exits as soon as it starts and this tool asks it once.
As far as ignoring - you could just log something to the console or debug message I think
…Sent from my iPhone
On Oct 8, 2018, at 08:31, Igor Muchychka ***@***.***> wrote:
Sure. Probably with mocking I can do that. Will add it Today. Also I am wandering do we want to explicitly ignore this error type. Or it’s fine like this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I tried to come up with test you suggested without too much luck. Unfortunately it's not good if the server just immediately exits as it produces different exception. The child process should run until the |
Do you have any idea how can we write a test for this? Or can we merge this without a test? |
@mucsi96, thanks for the fix. I'm using your fork for now. |
Ok, I will merge the PR, and hope it fixes issue and does not introduce any new ones |
🎉 This PR is included in version 1.7.5 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Thx! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!!!! 💙💚💛💜
Fixes #46