-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
sometimes dead loop #54
Comments
Although node v21 seems no |
+1 |
@isaacs I'm willing to open a PR to fix this, I'd like to understand the intention behind the There are at least two approaches we could take to fix this:
I lean towards the second option with |
No pull request is needed. This is already working fine on v3, the bug is only in v2. The PR needs to be made to the consumers of fg child. |
Thanks for letting me know, I didn't check whether the link in OP's issue corresponded to the latest version of I'll PR the latest version into |
Version
[email protected]
node v20.8.0
When
Error
100% CPU, guess somehow dead loop
After Ctrl-C
Related
Maybe caused by below line.
foreground-child/index.js
Line 63 in efba8bb
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/39359c8466846541b5b3298165ef79c509f0cd09/types/node/child_process.d.ts#L532
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/39359c8466846541b5b3298165ef79c509f0cd09/types/node/v16/process.d.ts#L63-L100
The
signal
should benull
or some const string.The text was updated successfully, but these errors were encountered: