Skip to content
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

Clean-up the zombie processes #79

Open
MartinXPN opened this issue Jan 30, 2023 · 0 comments
Open

Clean-up the zombie processes #79

MartinXPN opened this issue Jan 30, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed priority/top

Comments

@MartinXPN
Copy link
Owner

const c = require('child_process');
const serverProcess = c.spawn('sleep', ['40'], { detached: true, stdio: 'ignore' });
console.log(serverProcess.pid);

serverProcess.unref();
console.log(c.execSync('ps aux').toString());
@MartinXPN MartinXPN added bug Something isn't working priority/top labels Jan 30, 2023
@MartinXPN MartinXPN added the help wanted Extra attention is needed label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed priority/top
Projects
Status: No status
Development

No branches or pull requests

1 participant