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

cli: replace calls to process.exit with exit as Windows workaround #227

Merged
merged 1 commit into from
Dec 2, 2014

Conversation

shama
Copy link
Contributor

@shama shama commented Dec 2, 2014

Ref: nodejs/node-v0.x-archive#3584

On Windows, output isn't always flushed when exiting. This implements exit as a workaround to ensure output is flushed when exiting on Windows.

This fixes all but 3 tests on Windows. I'm still looking into those (looks like a pipe being destroyed early when ran via RPC):

screen shot 2014-12-02 at 11 47 33 am

@okdistribute
Copy link
Collaborator

woot

max-mapper added a commit that referenced this pull request Dec 2, 2014
cli: replace calls to process.exit with exit as Windows workaround
@max-mapper max-mapper merged commit 09235e8 into dat-ecosystem:master Dec 2, 2014
@max-mapper
Copy link
Collaborator

this has plagued me for so long. thank you

@shama shama deleted the fix/win-exit branch December 2, 2014 20:49
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.

3 participants