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 orphaned child process on Windows #2946
Conversation
would that fix the issue #2841 I opened when v4 came out? I would assume, and hope, that the answer is probably yes!? |
Maintainers 👋 please merge 🙏 |
Dear Maintainers, please merge! |
@evocateur could you please merge this as part of your next release!? That would be really great! Our teams relies heavily on Lerna and this small bug keeps popping up with many devs. We have reverted to lerna 3.22.1 that fixes the issue for now, but we would really like to keep up to date with Lerna releases. |
I can confirm that this PR fixes #2841 and I replicated this change in Lerna-Lite fork |
bump |
@as-zlynn-philipps sadly bumps aren't gonna help, Lerna is out of maintenance for well over a year now, see #3092. However this fix was applied in Lerna-Lite fork that I created, just in case you're interested. |
Quick fix while waiting upstream sindresorhus/execa#433 to be fixed, credit: FredKSchott/snowpack#1022 Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
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.
Thanks for this @feryardiant!
We can get this merged and released as part of next week's 5.1
release if you can fix up the unit tests and get CI to a passing/green state.
@feryardiant unfortunately I do not have permission to push to your PR branch otherwise I would fix this for you. All you need to do is apply the property to all the assertions in the spec file:
like so: |
Hi @feryardiant and everyone else, in order to ensure this made it into the 5.1 release (happening today), I went ahead and reproduced the change but included the necessary test updates per my note above. I applied @feryardiant as the author so full credit remains. Thanks all! |
Thank you @JamesHenry |
Description
Quick fix while waiting upstream sindresorhus/execa#433 to be fixed, credit: FredKSchott/snowpack#1022
Motivation and Context
I came across the same issue as #2899, #2901 while I am learning to develop a monorepo using lerna. Means I'm not proficient enough about this stuff.
How Has This Been Tested?
It looks silly indeed, but there it is.
You could find the repo here, runs on:
Types of changes
Honestly I'm not sure, but will investigate it further
Checklist:
fixes #2899, #2901