We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
exec
18.13.0
64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023
child_process
import {exec} from "child_process"; const child1 = exec(`sudo sleep 60`); const child2 = exec(`sleep 60`);
node index.js
The problem only happens in Ubuntu 22.04. Works fine in Ubuntu 20.04
The first time press Ctrl+C the parent process should be killed
Have to press CTRL+C twice to kill the parent process
No response
The text was updated successfully, but these errors were encountered:
That suggest it's an issue with ubuntu, not node, right?
Sorry, something went wrong.
No follow-up, closing.
No branches or pull requests
Version
18.13.0
Platform
64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023
Subsystem
child_process
What steps will reproduce the bug?
node index.js
from terminalHow often does it reproduce? Is there a required condition?
The problem only happens in Ubuntu 22.04. Works fine in Ubuntu 20.04
What is the expected behavior?
The first time press Ctrl+C the parent process should be killed
What do you see instead?
Have to press CTRL+C twice to kill the parent process
Additional information
No response
The text was updated successfully, but these errors were encountered: