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

Fix for empty codes on newer nodejs versions #3

Merged
merged 3 commits into from Sep 15, 2012
Merged

Conversation

bkw
Copy link
Contributor

@bkw bkw commented Jul 4, 2012

Hi,

I noticed the encoder would sometimes emit exit before the data was read from stdin or stderr. This happens a lot on node 0.8.1. This also makes some tests fail.

This pr waits for all filehandles to close, which is TheRightThing[tm] and fixes the issue for me.

I also took the liberty to fix package.json and gitignore files.

cheers,
bkw

bcelenza added a commit that referenced this pull request Sep 15, 2012
Fix for empty codes on newer nodejs versions
@bcelenza bcelenza merged commit a885bcf into heavyco:master Sep 15, 2012
@bcelenza
Copy link
Contributor

Thanks for the work! :) Sorry it took me 2 months to merge it in.

@bkw
Copy link
Contributor Author

bkw commented Sep 15, 2012

I had completely forgotten about this PR. I'm using a client-side approach now, but anyways: Thanks for taking the time to merge!

@l00mi
Copy link

l00mi commented Sep 26, 2012

I had the same problem described here. After I did checkout the newest code everything works well. Would you mind to release this as a new version in npm?

Thanks for the nice package anyway!

@bcelenza
Copy link
Contributor

bcelenza commented Oct 4, 2012

Sorry for the delay. I have published the update to NPM.

@l00mi
Copy link

l00mi commented Oct 4, 2012

Nice! Thank you!
On 04.10.2012, at 19:33, Brian Celenza wrote:

Sorry for the delay. I have published the update to NPM.


Reply to this email directly or view it on GitHub.

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.

None yet

3 participants