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

child_process.spawn now uses the close event #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cojohn
Copy link

@cojohn cojohn commented Sep 17, 2012

child_process.spawn in Node.js versions prior to 0.7 use the exit event to signal that the child process has finished; newer versions use the close event. Listening to the exit event in version >= 0.7 will result in occasional data loss if the exit event fires before close.

jscheid added a commit to waysact/webpack-closure-compiler that referenced this pull request Nov 18, 2015
Listening to the exit event leads to occasional data loss.

See nateps/connect-gzip#18
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