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

Wait for streams to drain before exiting #26

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Conversation

bradymholt
Copy link
Owner

@bradymholt bradymholt commented Oct 2, 2023

Instead of using process.exit() directly for the exit() helper, we will implement our own exit() so we can ensure all stdout and stderr streams are drained (printed to console) before exiting. This works around a longstanding issue in Node described here.

@bradymholt bradymholt merged commit 4ead65f into main Oct 2, 2023
2 checks passed
@bradymholt bradymholt deleted the wait-streams-exit branch October 2, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant